Package io.servicetalk.http.api
Interface BlockingStreamingHttpResponseFactory
- All Known Subinterfaces:
BlockingStreamingHttpRequestResponseFactory
public interface BlockingStreamingHttpResponseFactory
A factory for creating
BlockingStreamingHttpResponse
s.-
Method Summary
Modifier and TypeMethodDescriptiondefault BlockingStreamingHttpResponse
accepted()
Create a newHttpResponseStatus.ACCEPTED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.ALREADY_REPORTED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.BAD_GATEWAY
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.BAD_REQUEST
response.default BlockingStreamingHttpResponse
conflict()
Create a newHttpResponseStatus.CONFLICT
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.CONTINUE
response.default BlockingStreamingHttpResponse
created()
Create a newHttpResponseStatus.CREATED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.EARLY_HINTS
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.EXPECTATION_FAILED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.FAILED_DEPENDENCY
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.FORBIDDEN
response.default BlockingStreamingHttpResponse
found()
Create a newHttpResponseStatus.FOUND
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.GATEWAY_TIMEOUT
response.default BlockingStreamingHttpResponse
gone()
Create a newHttpResponseStatus.GONE
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.HTTP_VERSION_NOT_SUPPORTED
response.default BlockingStreamingHttpResponse
imUsed()
Create a newHttpResponseStatus.IM_USED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.INSUFFICIENT_STORAGE
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.INTERNAL_SERVER_ERROR
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.LENGTH_REQUIRED
response.default BlockingStreamingHttpResponse
locked()
Create a newHttpResponseStatus.LOCKED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.LOOP_DETECTED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.METHOD_NOT_ALLOWED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.MISDIRECTED_REQUEST
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.MOVED_PERMANENTLY
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.MULTIPLE_CHOICES
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.MULTI_STATUS
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.NETWORK_AUTHENTICATION_REQUIRED
response.newResponse
(HttpResponseStatus status) Create a newStreamingHttpResponse
object.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.NO_CONTENT
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.NON_AUTHORITATIVE_INFORMATION
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.NOT_ACCEPTABLE
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.NOT_EXTENDED
response.default BlockingStreamingHttpResponse
notFound()
Create a newHttpResponseStatus.NOT_FOUND
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.NOT_IMPLEMENTED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.NOT_MODIFIED
response.default BlockingStreamingHttpResponse
ok()
Create a newHttpResponseStatus.OK
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.PARTIAL_CONTENT
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.PAYLOAD_TOO_LARGE
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.PAYMENT_REQUIRED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.PERMANENT_REDIRECT
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.PRECONDITION_FAILED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.PRECONDITION_REQUIRED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.PROCESSING
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.PROXY_AUTHENTICATION_REQUIRED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.RANGE_NOT_SATISFIABLE
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.REQUEST_HEADER_FIELDS_TOO_LARGE
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.REQUEST_TIMEOUT
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.RESET_CONTENT
response.default BlockingStreamingHttpResponse
seeOther()
Create a newHttpResponseStatus.SEE_OTHER
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.SERVICE_UNAVAILABLE
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.SWITCHING_PROTOCOLS
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.TEMPORARY_REDIRECT
response.default BlockingStreamingHttpResponse
tooEarly()
Create a newHttpResponseStatus.TOO_EARLY
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.TOO_MANY_REQUESTS
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.UNAUTHORIZED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.UNAVAILABLE_FOR_LEGAL_REASONS
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.UNPROCESSABLE_ENTITY
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.UNSUPPORTED_MEDIA_TYPE
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.UPGRADE_REQUIRED
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.URI_TOO_LONG
response.default BlockingStreamingHttpResponse
useProxy()
Create a newHttpResponseStatus.USE_PROXY
response.default BlockingStreamingHttpResponse
Create a newHttpResponseStatus.VARIANT_ALSO_NEGOTIATES
response.
-
Method Details
-
newResponse
Create a newStreamingHttpResponse
object.- Parameters:
status
- TheHttpResponseStatus
.- Returns:
- a new
StreamingHttpResponse
object.
-
continueResponse
Create a newHttpResponseStatus.CONTINUE
response.- Returns:
- a new
HttpResponseStatus.CONTINUE
response.
-
switchingProtocols
Create a newHttpResponseStatus.SWITCHING_PROTOCOLS
response.- Returns:
- a new
HttpResponseStatus.SWITCHING_PROTOCOLS
response.
-
processing
Create a newHttpResponseStatus.PROCESSING
response.- Returns:
- a new
HttpResponseStatus.PROCESSING
response.
-
earlyHints
Create a newHttpResponseStatus.EARLY_HINTS
response.- Returns:
- a new
HttpResponseStatus.EARLY_HINTS
response.
-
ok
Create a newHttpResponseStatus.OK
response.- Returns:
- a new
HttpResponseStatus.OK
response.
-
created
Create a newHttpResponseStatus.CREATED
response.- Returns:
- a new
HttpResponseStatus.CREATED
response.
-
accepted
Create a newHttpResponseStatus.ACCEPTED
response.- Returns:
- a new
HttpResponseStatus.ACCEPTED
response.
-
nonAuthoritativeInformation
Create a newHttpResponseStatus.NON_AUTHORITATIVE_INFORMATION
response.- Returns:
- a new
HttpResponseStatus.NON_AUTHORITATIVE_INFORMATION
response.
-
noContent
Create a newHttpResponseStatus.NO_CONTENT
response.- Returns:
- a new
HttpResponseStatus.NO_CONTENT
response.
-
resetContent
Create a newHttpResponseStatus.RESET_CONTENT
response.- Returns:
- a new
HttpResponseStatus.RESET_CONTENT
response.
-
partialContent
Create a newHttpResponseStatus.PARTIAL_CONTENT
response.- Returns:
- a new
HttpResponseStatus.PARTIAL_CONTENT
response.
-
multiStatus
Create a newHttpResponseStatus.MULTI_STATUS
response.- Returns:
- a new
HttpResponseStatus.MULTI_STATUS
response.
-
alreadyReported
Create a newHttpResponseStatus.ALREADY_REPORTED
response.- Returns:
- a new
HttpResponseStatus.ALREADY_REPORTED
response.
-
imUsed
Create a newHttpResponseStatus.IM_USED
response.- Returns:
- a new
HttpResponseStatus.IM_USED
response.
-
multipleChoices
Create a newHttpResponseStatus.MULTIPLE_CHOICES
response.- Returns:
- a new
HttpResponseStatus.MULTIPLE_CHOICES
response.
-
movedPermanently
Create a newHttpResponseStatus.MOVED_PERMANENTLY
response.- Returns:
- a new
HttpResponseStatus.MOVED_PERMANENTLY
response.
-
found
Create a newHttpResponseStatus.FOUND
response.- Returns:
- a new
HttpResponseStatus.FOUND
response.
-
seeOther
Create a newHttpResponseStatus.SEE_OTHER
response.- Returns:
- a new
HttpResponseStatus.SEE_OTHER
response.
-
notModified
Create a newHttpResponseStatus.NOT_MODIFIED
response.- Returns:
- a new
HttpResponseStatus.NOT_MODIFIED
response.
-
useProxy
Create a newHttpResponseStatus.USE_PROXY
response.- Returns:
- a new
HttpResponseStatus.USE_PROXY
response.
-
temporaryRedirect
Create a newHttpResponseStatus.TEMPORARY_REDIRECT
response.- Returns:
- a new
HttpResponseStatus.TEMPORARY_REDIRECT
response.
-
permanentRedirect
Create a newHttpResponseStatus.PERMANENT_REDIRECT
response.- Returns:
- a new
HttpResponseStatus.PERMANENT_REDIRECT
response.
-
badRequest
Create a newHttpResponseStatus.BAD_REQUEST
response.- Returns:
- a new
HttpResponseStatus.BAD_REQUEST
response.
-
unauthorized
Create a newHttpResponseStatus.UNAUTHORIZED
response.- Returns:
- a new
HttpResponseStatus.UNAUTHORIZED
response.
-
paymentRequired
Create a newHttpResponseStatus.PAYMENT_REQUIRED
response.- Returns:
- a new
HttpResponseStatus.PAYMENT_REQUIRED
response.
-
forbidden
Create a newHttpResponseStatus.FORBIDDEN
response.- Returns:
- a new
HttpResponseStatus.FORBIDDEN
response.
-
notFound
Create a newHttpResponseStatus.NOT_FOUND
response.- Returns:
- a new
HttpResponseStatus.NOT_FOUND
response.
-
methodNotAllowed
Create a newHttpResponseStatus.METHOD_NOT_ALLOWED
response.- Returns:
- a new
HttpResponseStatus.METHOD_NOT_ALLOWED
response.
-
notAcceptable
Create a newHttpResponseStatus.NOT_ACCEPTABLE
response.- Returns:
- a new
HttpResponseStatus.NOT_ACCEPTABLE
response.
-
proxyAuthenticationRequired
Create a newHttpResponseStatus.PROXY_AUTHENTICATION_REQUIRED
response.- Returns:
- a new
HttpResponseStatus.PROXY_AUTHENTICATION_REQUIRED
response.
-
requestTimeout
Create a newHttpResponseStatus.REQUEST_TIMEOUT
response.- Returns:
- a new
HttpResponseStatus.REQUEST_TIMEOUT
response.
-
conflict
Create a newHttpResponseStatus.CONFLICT
response.- Returns:
- a new
HttpResponseStatus.CONFLICT
response.
-
gone
Create a newHttpResponseStatus.GONE
response.- Returns:
- a new
HttpResponseStatus.GONE
response.
-
lengthRequired
Create a newHttpResponseStatus.LENGTH_REQUIRED
response.- Returns:
- a new
HttpResponseStatus.LENGTH_REQUIRED
response.
-
preconditionFailed
Create a newHttpResponseStatus.PRECONDITION_FAILED
response.- Returns:
- a new
HttpResponseStatus.PRECONDITION_FAILED
response.
-
payloadTooLarge
Create a newHttpResponseStatus.PAYLOAD_TOO_LARGE
response.- Returns:
- a new
HttpResponseStatus.PAYLOAD_TOO_LARGE
response.
-
uriTooLong
Create a newHttpResponseStatus.URI_TOO_LONG
response.- Returns:
- a new
HttpResponseStatus.URI_TOO_LONG
response.
-
unsupportedMediaType
Create a newHttpResponseStatus.UNSUPPORTED_MEDIA_TYPE
response.- Returns:
- a new
HttpResponseStatus.UNSUPPORTED_MEDIA_TYPE
response.
-
rangeNotSatisfiable
Create a newHttpResponseStatus.RANGE_NOT_SATISFIABLE
response.- Returns:
- a new
HttpResponseStatus.RANGE_NOT_SATISFIABLE
response.
-
expectationFailed
Create a newHttpResponseStatus.EXPECTATION_FAILED
response.- Returns:
- a new
HttpResponseStatus.EXPECTATION_FAILED
response.
-
misdirectedRequest
Create a newHttpResponseStatus.MISDIRECTED_REQUEST
response.- Returns:
- a new
HttpResponseStatus.MISDIRECTED_REQUEST
response.
-
unprocessableEntity
Create a newHttpResponseStatus.UNPROCESSABLE_ENTITY
response.- Returns:
- a new
HttpResponseStatus.UNPROCESSABLE_ENTITY
response.
-
locked
Create a newHttpResponseStatus.LOCKED
response.- Returns:
- a new
HttpResponseStatus.LOCKED
response.
-
failedDependency
Create a newHttpResponseStatus.FAILED_DEPENDENCY
response.- Returns:
- a new
HttpResponseStatus.FAILED_DEPENDENCY
response.
-
tooEarly
Create a newHttpResponseStatus.TOO_EARLY
response.- Returns:
- a new
HttpResponseStatus.TOO_EARLY
response.
-
upgradeRequired
Create a newHttpResponseStatus.UPGRADE_REQUIRED
response.- Returns:
- a new
HttpResponseStatus.UPGRADE_REQUIRED
response.
-
preconditionRequired
Create a newHttpResponseStatus.PRECONDITION_REQUIRED
response.- Returns:
- a new
HttpResponseStatus.PRECONDITION_REQUIRED
response.
-
tooManyRequests
Create a newHttpResponseStatus.TOO_MANY_REQUESTS
response.- Returns:
- a new
HttpResponseStatus.TOO_MANY_REQUESTS
response.
-
requestHeaderFieldsTooLarge
Create a newHttpResponseStatus.REQUEST_HEADER_FIELDS_TOO_LARGE
response.- Returns:
- a new
HttpResponseStatus.REQUEST_HEADER_FIELDS_TOO_LARGE
response.
-
internalServerError
Create a newHttpResponseStatus.INTERNAL_SERVER_ERROR
response.- Returns:
- a new
HttpResponseStatus.INTERNAL_SERVER_ERROR
response.
-
notImplemented
Create a newHttpResponseStatus.NOT_IMPLEMENTED
response.- Returns:
- a new
HttpResponseStatus.NOT_IMPLEMENTED
response.
-
badGateway
Create a newHttpResponseStatus.BAD_GATEWAY
response.- Returns:
- a new
HttpResponseStatus.BAD_GATEWAY
response.
-
gatewayTimeout
Create a newHttpResponseStatus.GATEWAY_TIMEOUT
response.- Returns:
- a new
HttpResponseStatus.GATEWAY_TIMEOUT
response.
-
httpVersionNotSupported
Create a newHttpResponseStatus.HTTP_VERSION_NOT_SUPPORTED
response.- Returns:
- a new
HttpResponseStatus.HTTP_VERSION_NOT_SUPPORTED
response.
-
variantAlsoNegotiates
Create a newHttpResponseStatus.VARIANT_ALSO_NEGOTIATES
response.- Returns:
- a new
HttpResponseStatus.VARIANT_ALSO_NEGOTIATES
response.
-
insufficientStorage
Create a newHttpResponseStatus.INSUFFICIENT_STORAGE
response.- Returns:
- a new
HttpResponseStatus.INSUFFICIENT_STORAGE
response.
-
loopDetected
Create a newHttpResponseStatus.LOOP_DETECTED
response.- Returns:
- a new
HttpResponseStatus.LOOP_DETECTED
response.
-
notExtended
Create a newHttpResponseStatus.NOT_EXTENDED
response.- Returns:
- a new
HttpResponseStatus.NOT_EXTENDED
response.
-
networkAuthenticationRequired
Create a newHttpResponseStatus.NETWORK_AUTHENTICATION_REQUIRED
response.- Returns:
- a new
HttpResponseStatus.NETWORK_AUTHENTICATION_REQUIRED
response.
-