## 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.io | Default implementation of HTTP/1.1 transport based on the classic (blocking) I/O model.
  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.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 and Description
    --- | ---
    `interface` | `HttpResponseFactory<T extends HttpResponse>` A factory for `HttpResponse` objects.

    Subinterfaces of HttpResponse in org.apache.hc.core5.http
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ClassicHttpResponse` 'Classic' `HttpResponse` message that can enclose `HttpEntity`.

    Methods in org.apache.hc.core5.http with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ConnectionReuseStrategy.`keepAlive(HttpRequest request, HttpResponse response, HttpContext context)` Decides whether a connection can be kept open after a request.
    `void` | HttpResponseInterceptor.`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 and Description
    --- | ---
    `boolean` | DefaultConnectionReuseStrategy.`keepAlive(HttpRequest request, HttpResponse response, HttpContext context)`
    `void` | Http1StreamListener.`onResponseHead(HttpConnection connection, HttpResponse response)`

  - ### Uses of HttpResponse in org.apache.hc.core5.http.impl.io

    Methods in org.apache.hc.core5.http.impl.io with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpVersion` | DefaultHttpResponseWriter.`protocolVersion(HttpResponse message)` Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header.

  - ### 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 and Description
    --- | ---
    `class` | `DefaultHttpResponseParser<T extends HttpResponse>` Default `NHttpMessageParser` implementation for `HttpResponse`s.
    `class` | `DefaultHttpResponseWriter<T extends HttpResponse>` Default `NHttpMessageWriter` implementation for `HttpResponse`s.

    Methods in org.apache.hc.core5.http.impl.nio that return HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `HttpResponse` | DefaultHttpResponseFactory.`newHttpResponse(int status)`
    `HttpResponse` | DefaultHttpResponseFactory.`newHttpResponse(int status, String reasonPhrase)`

    Methods in org.apache.hc.core5.http.impl.nio that return types with arguments of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `NHttpMessageWriter<HttpResponse>` | DefaultHttpResponseWriterFactory.`create()`
    `NHttpMessageParser<HttpResponse>` | DefaultHttpResponseParserFactory.`create()`

    Methods in org.apache.hc.core5.http.impl.nio with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | ClientHttp1StreamDuplexer.`handleIncomingMessage(HttpResponse response)`
    `protected boolean` | ServerHttp1StreamDuplexer.`handleOutgoingMessage(HttpResponse response)`

    Constructor parameters in org.apache.hc.core5.http.impl.nio with type arguments of type HttpResponse
    Constructor and Description
    `ClientHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ClientHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ClientHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, Http1StreamListener streamListener)`
    `DefaultHttpResponseParserFactory(Http1Config http1Config, HttpResponseFactory<HttpResponse> responseFactory, LineParser lineParser)`
    `ServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener, Callback<Exception> exceptionCallback)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener, Callback<Exception> exceptionCallback)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, Http1StreamListener streamListener, Callback<Exception> exceptionCallback)`

  - ### 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 and Description
    --- | ---
    `void` | HttpResponseInformationCallback.`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 and Description
    --- | ---
    `protected HttpEntity` | HttpServerExpectationFilter.`generateResponseContent(HttpResponse expectationFailed)` Generates response content entity for the final HTTP response with an error status representing the cause of expectation failure.
    `protected HttpEntity` | AbstractHttpServerAuthFilter.`generateResponseContent(HttpResponse unauthorized)` Generates response body for UNAUTHORIZED response.

  - ### 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 and Description
    --- | ---
    `class` | `BasicClassicHttpResponse` Basic implementation of `ClassicHttpResponse`.
    `class` | `BasicHttpResponse` Basic implementation of `HttpResponse`.
    `class` | `HttpResponseWrapper` Wraps an `HttpResponse`.

    Methods in org.apache.hc.core5.http.message with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | MessageSupport.`canResponseHaveBody(String method, HttpResponse response)`

    Constructors in org.apache.hc.core5.http.message with parameters of type HttpResponse
    Constructor and 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 and Description
    --- | ---
    `void` | AsyncClientExchangeHandler.`consumeInformation(HttpResponse response, HttpContext context)` Triggered to signal receipt of an intermediate (1xx) HTTP response.
    `void` | AsyncPushConsumer.`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.
    `void` | AsyncClientExchangeHandler.`consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context)` Triggered to signal receipt of a response message head.
    `void` | AsyncResponseConsumer.`consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context, FutureCallback<T> resultCallback)` Triggered to signal receipt of a response message head.
    `void` | AsyncResponseConsumer.`informationResponse(HttpResponse response, HttpContext context)` Triggered to signal receipt of an intermediate (1xx) HTTP response.
    `void` | AsyncFilterChain.ResponseTrigger.`sendInformation(HttpResponse response)` Sends an intermediate informational HTTP response to the client.
    `void` | ResponseChannel.`sendInformation(HttpResponse response, HttpContext context)` Sends an intermediate informational HTTP response through this channel.
    `void` | AsyncServerRequestHandler.ResponseTrigger.`sendInformation(HttpResponse response, HttpContext context)` Sends an intermediate informational HTTP response to the client.
    `void` | ResponseChannel.`sendResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context)` Sends a final HTTP response through this channel.
    `void` | AsyncFilterChain.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

    Methods in org.apache.hc.core5.http.nio.support with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract T` | AbstractAsyncResponseConsumer.`buildResult(HttpResponse response, E entity, ContentType contentType)` Triggered to generate object that represents a result of response message processing.
    `void` | BasicClientExchangeHandler.`consumeInformation(HttpResponse response, HttpContext httpContext)`
    `void` | AbstractAsyncPushHandler.`consumePromise(HttpRequest promise, HttpResponse response, EntityDetails entityDetails, HttpContext httpContext)`
    `void` | BasicClientExchangeHandler.`consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext)`
    `void` | BasicResponseConsumer.`consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpResponse,T>> resultCallback)`
    `void` | AbstractAsyncResponseConsumer.`consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<T> resultCallback)`
    `protected AsyncEntityProducer` | AbstractAsyncServerAuthFilter.`generateResponseContent(HttpResponse unauthorized)` Generates response body for UNAUTHORIZED response.
    `protected AsyncEntityProducer` | AsyncServerExpectationFilter.`generateResponseContent(HttpResponse expectationFailed)`
    `void` | BasicResponseConsumer.`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 and Description
    --- | ---
    `void` | BasicResponseConsumer.`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 and Description
    `BasicPushProducer(HttpResponse response, AsyncEntityProducer dataProducer)`
    `BasicResponseProducer(HttpResponse response)`
    `BasicResponseProducer(HttpResponse response, AsyncEntityProducer dataProducer)`
    `BasicResponseProducer(HttpResponse response, String message)`
    `BasicResponseProducer(HttpResponse response, String message, ContentType contentType)`
    `ImmediateResponseExchangeHandler(HttpResponse response, 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 and Description
    --- | ---
    `protected abstract void` | AbstractClassicServerExchangeHandler.`handle(HttpRequest request, InputStream requestStream, HttpResponse response, 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 and Description
    --- | ---
    `HttpResponse` | HttpCoreContext.`getResponse()` Represents current response message head.

    Methods in org.apache.hc.core5.http.protocol with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResponseConformance.`process(HttpResponse response, EntityDetails entity, HttpContext context)`
    `void` | ResponseContent.`process(HttpResponse response, EntityDetails entity, HttpContext context)` Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.
    `void` | DefaultHttpProcessor.`process(HttpResponse response, EntityDetails entity, HttpContext context)`
    `void` | ResponseServer.`process(HttpResponse response, EntityDetails entity, HttpContext context)`
    `void` | ResponseConnControl.`process(HttpResponse response, EntityDetails entity, HttpContext localContext)`
    `void` | ResponseDate.`process(HttpResponse response, EntityDetails entity, HttpContext context)`
    `void` | HttpCoreContext.`setResponse(HttpResponse response)`

  - ### 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 and Description
    --- | ---
    `static BasicResponseBuilder` | BasicResponseBuilder.`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 and Description
    --- | ---
    `HttpResponse` | DefaultH2ResponseConverter.`convert(List<Header> headers)`

    Methods in org.apache.hc.core5.http2.impl with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `List<Header>` | DefaultH2ResponseConverter.`convert(HttpResponse message)`

  - ### 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 and Description
    --- | ---
    `void` | H2ResponseConnControl.`process(HttpResponse response, EntityDetails entity, HttpContext context)`
    `void` | H2ResponseContent.`process(HttpResponse response, EntityDetails entity, HttpContext context)`
    `void` | H2ResponseConformance.`process(HttpResponse response, EntityDetails entity, HttpContext context)`

  - ### Uses of HttpResponse in org.apache.hc.core5.reactive

    Methods in org.apache.hc.core5.reactive that return HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `HttpResponse` | ReactiveResponseConsumer.`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 and Description
    --- | ---
    `Future<Message<HttpResponse,org.reactivestreams.Publisher<ByteBuffer>>>` | ReactiveResponseConsumer.`getResponseFuture()`

    Methods in org.apache.hc.core5.reactive with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | ReactiveResponseConsumer.`consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Void> resultCallback)`
    `void` | ReactiveResponseConsumer.`informationResponse(HttpResponse response, HttpContext httpContext)`

    Constructor parameters in org.apache.hc.core5.reactive with type arguments of type HttpResponse
    Constructor and Description
    `ReactiveResponseConsumer(FutureCallback<Message<HttpResponse,org.reactivestreams.Publisher<ByteBuffer>>> responseCallback)` Creates a `ReactiveResponseConsumer` that will call back the supplied `FutureCallback` with 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 and Description
    --- | ---
    `void` | LoggingHttp1StreamListener.`onResponseHead(HttpConnection connection, HttpResponse response)`

  - ### Uses of HttpResponse in org.apache.hc.core5.testing.nio

    Methods in org.apache.hc.core5.testing.nio with parameters of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | LoggingHttp1StreamListener.`onResponseHead(HttpConnection connection, HttpResponse response)`

    Method parameters in org.apache.hc.core5.testing.nio with type arguments of type HttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | Http1TestClient.`configure(NHttpMessageParserFactory<HttpResponse> responseParserFactory)`
    `void` | Http1TestServer.`configure(NHttpMessageWriterFactory<HttpResponse> responseWriterFactory)`

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.