Uses of Interface
org.apache.hc.core5.http.HttpResponse
-
Packages that use HttpResponse Package Description org.apache.hc.core5.http Core HTTP transport component APIs.org.apache.hc.core5.http.impl Default implementations of core HTTP APIs.org.apache.hc.core5.http.impl.nio Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http.io Core HTTP transport APIs based on the classic (blocking) I/O model.org.apache.hc.core5.http.io.support Support classes for the classic (blocking) I/O model.org.apache.hc.core5.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.hc.core5.http.nio Core HTTP transport APIs based on the asynchronous, event driven I/O model.org.apache.hc.core5.http.nio.support Support classes for the asynchronous I/O model.org.apache.hc.core5.http.nio.support.classic Support classes for the asynchronous I/O model that emulate behavior of the classic (blocking) I/O model.org.apache.hc.core5.http.protocol Core HTTP protocol interceptors.org.apache.hc.core5.http.support org.apache.hc.core5.http2.impl Default implementations of core HTTP/2 APIs.org.apache.hc.core5.http2.impl.nio Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http2.protocol HTTP/2 protocol interceptors.org.apache.hc.core5.reactive org.apache.hc.core5.testing.classic org.apache.hc.core5.testing.nio -
-
Uses of HttpResponse in org.apache.hc.core5.http
Classes in org.apache.hc.core5.http with type parameters of type HttpResponse Modifier and Type Interface Description interfaceHttpResponseFactory<T extends HttpResponse>A factory forHttpResponseobjects.Subinterfaces of HttpResponse in org.apache.hc.core5.http Modifier and Type Interface Description interfaceClassicHttpResponse'Classic'HttpResponsemessage that can encloseHttpEntity.Methods in org.apache.hc.core5.http with parameters of type HttpResponse Modifier and Type Method Description booleanConnectionReuseStrategy. keepAlive(HttpRequest request, HttpResponse response, HttpContext context)Decides whether a connection can be kept open after a request.voidHttpResponseInterceptor. process(HttpResponse response, EntityDetails entity, HttpContext context)Processes a response. -
Uses of HttpResponse in org.apache.hc.core5.http.impl
Methods in org.apache.hc.core5.http.impl with parameters of type HttpResponse Modifier and Type Method Description booleanDefaultConnectionReuseStrategy. keepAlive(HttpRequest request, HttpResponse response, HttpContext context)voidHttp1StreamListener. onResponseHead(HttpConnection connection, HttpResponse response)static voidServerSupport. validateResponse(HttpResponse response, EntityDetails responseEntityDetails) -
Uses of HttpResponse in org.apache.hc.core5.http.impl.nio
Classes in org.apache.hc.core5.http.impl.nio with type parameters of type HttpResponse Modifier and Type Class Description classDefaultHttpResponseParser<T extends HttpResponse>DefaultNHttpMessageParserimplementation forHttpResponses.classDefaultHttpResponseWriter<T extends HttpResponse>DefaultNHttpMessageWriterimplementation forHttpResponses.Fields in org.apache.hc.core5.http.impl.nio declared as HttpResponse Modifier and Type Field Description private HttpResponseServerHttp1StreamDuplexer.DelayedOutputChannel. delayedResponseFields in org.apache.hc.core5.http.impl.nio with type parameters of type HttpResponse Modifier and Type Field Description private Http1StreamChannel<HttpResponse>ServerHttp1StreamDuplexer.DelayedOutputChannel. channelprivate Http1StreamChannel<HttpResponse>ServerHttp1StreamDuplexer. outputChannelprivate Http1StreamChannel<HttpResponse>ServerHttp1StreamHandler. outputChannelprivate HttpResponseFactory<HttpResponse>DefaultHttpResponseParserFactory. responseFactoryprivate NHttpMessageParserFactory<HttpResponse>ClientHttp1StreamDuplexerFactory. responseParserFactoryprivate NHttpMessageWriterFactory<HttpResponse>ServerHttp1StreamDuplexerFactory. responseWriterFactoryMethods in org.apache.hc.core5.http.impl.nio that return HttpResponse Modifier and Type Method Description HttpResponseDefaultHttpResponseFactory. newHttpResponse(int status)HttpResponseDefaultHttpResponseFactory. newHttpResponse(int status, java.lang.String reasonPhrase)Methods in org.apache.hc.core5.http.impl.nio that return types with arguments of type HttpResponse Modifier and Type Method Description NHttpMessageParser<HttpResponse>DefaultHttpResponseParserFactory. create()NHttpMessageWriter<HttpResponse>DefaultHttpResponseWriterFactory. create()Methods in org.apache.hc.core5.http.impl.nio with parameters of type HttpResponse Modifier and Type Method Description private voidServerHttp1StreamHandler. commitInformation(HttpResponse response)private voidServerHttp1StreamHandler. commitResponse(HttpResponse response, EntityDetails responseEntityDetails)(package private) voidClientHttp1StreamDuplexer. consumeHeader(HttpResponse response, EntityDetails entityDetails)(package private) voidClientHttp1StreamHandler. consumeHeader(HttpResponse response, EntityDetails entityDetails)protected booleanClientHttp1StreamDuplexer. handleIncomingMessage(HttpResponse response)protected booleanServerHttp1StreamDuplexer. handleOutgoingMessage(HttpResponse response)voidServerHttp1StreamDuplexer.DelayedOutputChannel. submit(HttpResponse response, boolean endStream, FlushMode flushMode)(package private) voidClientHttp1StreamDuplexer. updateInputMetrics(HttpResponse response, BasicHttpConnectionMetrics connMetrics)(package private) voidServerHttp1StreamDuplexer. updateOutputMetrics(HttpResponse response, BasicHttpConnectionMetrics connMetrics) -
Uses of HttpResponse in org.apache.hc.core5.http.io
Methods in org.apache.hc.core5.http.io with parameters of type HttpResponse Modifier and Type Method Description voidHttpResponseInformationCallback. execute(HttpResponse response, HttpConnection connection, HttpContext context) -
Uses of HttpResponse in org.apache.hc.core5.http.io.support
Methods in org.apache.hc.core5.http.io.support with parameters of type HttpResponse Modifier and Type Method Description protected HttpEntityAbstractHttpServerAuthFilter. generateResponseContent(HttpResponse unauthorized)Generates response body for UNAUTHORIZED response.protected HttpEntityHttpServerExpectationFilter. generateResponseContent(HttpResponse expectationFailed)Generates response content entity for the final HTTP response with an error status representing the cause of expectation failure. -
Uses of HttpResponse in org.apache.hc.core5.http.message
Classes in org.apache.hc.core5.http.message that implement HttpResponse Modifier and Type Class Description classBasicClassicHttpResponseBasic implementation ofClassicHttpResponse.classBasicHttpResponseBasic implementation ofHttpResponse.classHttpResponseWrapperWraps anHttpResponse.Methods in org.apache.hc.core5.http.message with parameters of type HttpResponse Modifier and Type Method Description static booleanMessageSupport. canResponseHaveBody(java.lang.String method, HttpResponse response)Constructors in org.apache.hc.core5.http.message with parameters of type HttpResponse Constructor Description HttpResponseWrapper(HttpResponse message)StatusLine(HttpResponse response) -
Uses of HttpResponse in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type HttpResponse Modifier and Type Method Description voidAsyncClientExchangeHandler. consumeInformation(HttpResponse response, HttpContext context)Triggered to signal receipt of an intermediate (1xx) HTTP response.voidAsyncPushConsumer. consumePromise(HttpRequest promise, HttpResponse response, EntityDetails entityDetails, HttpContext context)Triggered to signal receipt of a request message head used as a promise and the corresponding pushed response.voidAsyncClientExchangeHandler. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context)Triggered to signal receipt of a response message head.voidAsyncResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context, FutureCallback<T> resultCallback)Triggered to signal receipt of a response message head.voidAsyncResponseConsumer. informationResponse(HttpResponse response, HttpContext context)Triggered to signal receipt of an intermediate (1xx) HTTP response.voidAsyncFilterChain.ResponseTrigger. sendInformation(HttpResponse response)Sends an intermediate informational HTTP response to the client.voidAsyncServerRequestHandler.ResponseTrigger. sendInformation(HttpResponse response, HttpContext context)Sends an intermediate informational HTTP response to the client.voidResponseChannel. sendInformation(HttpResponse response, HttpContext context)Sends an intermediate informational HTTP response through this channel.voidResponseChannel. sendResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context)Sends a final HTTP response through this channel.voidAsyncFilterChain.ResponseTrigger. submitResponse(HttpResponse response, AsyncEntityProducer entityProducer)Sends a final HTTP response to the client. -
Uses of HttpResponse in org.apache.hc.core5.http.nio.support
Fields in org.apache.hc.core5.http.nio.support declared as HttpResponse Modifier and Type Field Description private HttpResponseBasicPushProducer. responseprivate HttpResponseBasicResponseProducer. responseMethods in org.apache.hc.core5.http.nio.support with parameters of type HttpResponse Modifier and Type Method Description protected abstract TAbstractAsyncResponseConsumer. buildResult(HttpResponse response, E entity, ContentType contentType)Triggered to generate object that represents a result of response message processing.voidBasicClientExchangeHandler. consumeInformation(HttpResponse response, HttpContext httpContext)voidAbstractAsyncPushHandler. consumePromise(HttpRequest promise, HttpResponse response, EntityDetails entityDetails, HttpContext httpContext)voidAbstractAsyncResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<T> resultCallback)voidBasicClientExchangeHandler. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext)voidBasicResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpResponse,T>> resultCallback)protected AsyncEntityProducerAbstractAsyncServerAuthFilter. generateResponseContent(HttpResponse unauthorized)Generates response body for UNAUTHORIZED response.protected AsyncEntityProducerAsyncServerExpectationFilter. generateResponseContent(HttpResponse expectationFailed)voidBasicResponseConsumer. informationResponse(HttpResponse response, HttpContext httpContext)Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type HttpResponse Modifier and Type Method Description voidBasicResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpResponse,T>> resultCallback)Constructors in org.apache.hc.core5.http.nio.support with parameters of type HttpResponse Constructor Description BasicPushProducer(HttpResponse response, AsyncEntityProducer dataProducer)BasicResponseProducer(HttpResponse response)BasicResponseProducer(HttpResponse response, java.lang.String message)BasicResponseProducer(HttpResponse response, java.lang.String message, ContentType contentType)BasicResponseProducer(HttpResponse response, AsyncEntityProducer dataProducer)ImmediateResponseExchangeHandler(HttpResponse response, java.lang.String message) -
Uses of HttpResponse in org.apache.hc.core5.http.nio.support.classic
Methods in org.apache.hc.core5.http.nio.support.classic with parameters of type HttpResponse Modifier and Type Method Description protected abstract voidAbstractClassicServerExchangeHandler. handle(HttpRequest request, java.io.InputStream requestStream, HttpResponse response, java.io.OutputStream responseStream, HttpContext context)Handles an incoming request optionally reading its entity content form the given input stream and generates a response optionally writing out its entity content into the given output stream. -
Uses of HttpResponse in org.apache.hc.core5.http.protocol
Methods in org.apache.hc.core5.http.protocol that return HttpResponse Modifier and Type Method Description HttpResponseHttpCoreContext. getResponse()Methods in org.apache.hc.core5.http.protocol with parameters of type HttpResponse Modifier and Type Method Description voidDefaultHttpProcessor. process(HttpResponse response, EntityDetails entity, HttpContext context)voidResponseConnControl. process(HttpResponse response, EntityDetails entity, HttpContext context)voidResponseContent. process(HttpResponse response, EntityDetails entity, HttpContext context)Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.voidResponseDate. process(HttpResponse response, EntityDetails entity, HttpContext context)voidResponseServer. process(HttpResponse response, EntityDetails entity, HttpContext context) -
Uses of HttpResponse in org.apache.hc.core5.http.support
Methods in org.apache.hc.core5.http.support with parameters of type HttpResponse Modifier and Type Method Description static BasicResponseBuilderBasicResponseBuilder. copy(HttpResponse response) -
Uses of HttpResponse in org.apache.hc.core5.http2.impl
Methods in org.apache.hc.core5.http2.impl that return HttpResponse Modifier and Type Method Description HttpResponseDefaultH2ResponseConverter. convert(java.util.List<Header> headers)Methods in org.apache.hc.core5.http2.impl with parameters of type HttpResponse Modifier and Type Method Description java.util.List<Header>DefaultH2ResponseConverter. convert(HttpResponse message) -
Uses of HttpResponse in org.apache.hc.core5.http2.impl.nio
Methods in org.apache.hc.core5.http2.impl.nio with parameters of type HttpResponse Modifier and Type Method Description private voidServerH2StreamHandler. commitInformation(HttpResponse response)private voidServerPushH2StreamHandler. commitInformation(HttpResponse response)private voidServerH2StreamHandler. commitResponse(HttpResponse response, EntityDetails responseEntityDetails)private voidServerPushH2StreamHandler. commitResponse(HttpResponse response, EntityDetails responseEntityDetails)voidNoopAsyncPushHandler. consumePromise(HttpRequest promise, HttpResponse response, EntityDetails entityDetails, HttpContext context) -
Uses of HttpResponse in org.apache.hc.core5.http2.protocol
Methods in org.apache.hc.core5.http2.protocol with parameters of type HttpResponse Modifier and Type Method Description voidH2ResponseConnControl. process(HttpResponse response, EntityDetails entity, HttpContext context)voidH2ResponseContent. process(HttpResponse response, EntityDetails entity, HttpContext context) -
Uses of HttpResponse in org.apache.hc.core5.reactive
Fields in org.apache.hc.core5.reactive declared as HttpResponse Modifier and Type Field Description private HttpResponseReactiveResponseConsumer. informationResponseFields in org.apache.hc.core5.reactive with type parameters of type HttpResponse Modifier and Type Field Description private BasicFuture<Message<HttpResponse,org.reactivestreams.Publisher<java.nio.ByteBuffer>>>ReactiveResponseConsumer. responseFutureMethods in org.apache.hc.core5.reactive that return HttpResponse Modifier and Type Method Description HttpResponseReactiveResponseConsumer. getInformationResponse()Returns the intermediate (1xx) HTTP response if one was received.Methods in org.apache.hc.core5.reactive that return types with arguments of type HttpResponse Modifier and Type Method Description java.util.concurrent.Future<Message<HttpResponse,org.reactivestreams.Publisher<java.nio.ByteBuffer>>>ReactiveResponseConsumer. getResponseFuture()Methods in org.apache.hc.core5.reactive with parameters of type HttpResponse Modifier and Type Method Description voidReactiveResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<java.lang.Void> resultCallback)voidReactiveResponseConsumer. informationResponse(HttpResponse response, HttpContext httpContext)Constructor parameters in org.apache.hc.core5.reactive with type arguments of type HttpResponse Constructor Description ReactiveResponseConsumer(FutureCallback<Message<HttpResponse,org.reactivestreams.Publisher<java.nio.ByteBuffer>>> responseCallback)Creates aReactiveResponseConsumerthat will call back the suppliedFutureCallbackwith a streamable response. -
Uses of HttpResponse in org.apache.hc.core5.testing.classic
Methods in org.apache.hc.core5.testing.classic with parameters of type HttpResponse Modifier and Type Method Description voidLoggingHttp1StreamListener. onResponseHead(HttpConnection connection, HttpResponse response) -
Uses of HttpResponse in org.apache.hc.core5.testing.nio
Fields in org.apache.hc.core5.testing.nio with type parameters of type HttpResponse Modifier and Type Field Description private NHttpMessageParserFactory<HttpResponse>InternalClientHttp1EventHandlerFactory. responseParserFactoryprivate NHttpMessageWriterFactory<HttpResponse>InternalServerHttp1EventHandlerFactory. responseWriterFactoryMethods in org.apache.hc.core5.testing.nio with parameters of type HttpResponse Modifier and Type Method Description voidLoggingHttp1StreamListener. onResponseHead(HttpConnection connection, HttpResponse response)Method parameters in org.apache.hc.core5.testing.nio with type arguments of type HttpResponse Modifier and Type Method Description protected ClientHttp1StreamDuplexerInternalClientHttp1EventHandlerFactory. createClientHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)protected ServerHttp1StreamDuplexerInternalServerHttp1EventHandlerFactory. createServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)
-