## Uses of Interface
org.apache.hc.core5.http.ClassicHttpResponse

- Packages that use ClassicHttpResponse
  Package | Description
  --- | ---
  org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap.
  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.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.testing.classic |
  org.apache.hc.core5.testing.framework |

- - ### Uses of ClassicHttpResponse in org.apache.hc.core5.http.impl.bootstrap

    Methods in org.apache.hc.core5.http.impl.bootstrap that return ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpResponse` | HttpRequester.`execute(HttpClientConnection connection, ClassicHttpRequest request, HttpContext context)`
    `ClassicHttpResponse` | HttpRequester.`execute(HttpClientConnection connection, ClassicHttpRequest request, HttpResponseInformationCallback informationCallback, HttpContext context)`
    `ClassicHttpResponse` | HttpRequester.`execute(HttpHost targetHost, ClassicHttpRequest request, HttpResponseInformationCallback informationCallback, Timeout connectTimeout, HttpContext context)`
    `ClassicHttpResponse` | HttpRequester.`execute(HttpHost targetHost, ClassicHttpRequest request, Timeout connectTimeout, HttpContext context)`

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | HttpRequester.`keepAlive(HttpClientConnection connection, ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context)`

    Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `ServerBootstrap` | ServerBootstrap.`setResponseFactory(HttpResponseFactory<ClassicHttpResponse> responseFactory)` Assigns `HttpResponseFactory` instance.

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

    Methods in org.apache.hc.core5.http.impl.io that return ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected ClassicHttpResponse` | DefaultHttpResponseParser.`createMessage(CharArrayBuffer buffer)`
    `ClassicHttpResponse` | HttpRequestExecutor.`execute(ClassicHttpRequest request, HttpClientConnection conn, HttpContext context)` Sends the request and obtain a response.
    `ClassicHttpResponse` | HttpRequestExecutor.`execute(ClassicHttpRequest request, HttpClientConnection conn, HttpResponseInformationCallback informationCallback, HttpContext context)` Sends the request and obtain a response.
    `ClassicHttpResponse` | DefaultClassicHttpResponseFactory.`newHttpResponse(int status)`
    `ClassicHttpResponse` | DefaultClassicHttpResponseFactory.`newHttpResponse(int status, String reasonPhrase)`
    `ClassicHttpResponse` | DefaultBHttpClientConnection.`receiveResponseHeader()`

    Methods in org.apache.hc.core5.http.impl.io that return types with arguments of type ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `HttpMessageWriter<ClassicHttpResponse>` | DefaultHttpResponseWriterFactory.`create()`
    `HttpMessageParser<ClassicHttpResponse>` | DefaultHttpResponseParserFactory.`create(Http1Config http1Config)`

    Methods in org.apache.hc.core5.http.impl.io with parameters of type ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | HttpService.`handleException(HttpException ex, ClassicHttpResponse response)` Handles the given exception and generates an HTTP response to be sent back to the client to inform about the exceptional condition encountered in the course of the request processing.
    `boolean` | HttpRequestExecutor.`keepAlive(ClassicHttpRequest request, ClassicHttpResponse response, HttpClientConnection connection, HttpContext context)` Determines whether the connection can be kept alive and is safe to be re-used for subsequent message exchanges.
    `protected void` | DefaultBHttpClientConnection.`onResponseReceived(ClassicHttpResponse response)`
    `protected void` | DefaultBHttpServerConnection.`onResponseSubmitted(ClassicHttpResponse response)`
    `void` | HttpRequestExecutor.`postProcess(ClassicHttpResponse response, HttpProcessor processor, HttpContext context)` Post-processes the given response using the given protocol processor and completes the process of request execution.
    `void` | DefaultBHttpClientConnection.`receiveResponseEntity(ClassicHttpResponse response)`
    `void` | DefaultBHttpServerConnection.`sendResponseEntity(ClassicHttpResponse response)`
    `void` | DefaultBHttpServerConnection.`sendResponseHeader(ClassicHttpResponse response)`
    `protected void` | DefaultHttpResponseWriter.`writeHeadLine(ClassicHttpResponse message, CharArrayBuffer lineBuf)`

    Method parameters in org.apache.hc.core5.http.impl.io with type arguments of type ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `DefaultBHttpClientConnectionFactory.Builder` | DefaultBHttpClientConnectionFactory.Builder.`responseParserFactory(HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)`
    `DefaultBHttpServerConnectionFactory.Builder` | DefaultBHttpServerConnectionFactory.Builder.`responseWriterFactory(HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)`

    Constructor parameters in org.apache.hc.core5.http.impl.io with type arguments of type ClassicHttpResponse
    Constructor and Description
    `DefaultBHttpClientConnection(Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)` Creates new instance of DefaultBHttpClientConnection.
    `DefaultBHttpClientConnection(Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, ResponseOutOfOrderStrategy responseOutOfOrderStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)` Creates new instance of DefaultBHttpClientConnection.
    `DefaultBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)`
    `DefaultBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)`
    `DefaultBHttpServerConnection(String scheme, Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)` Creates new instance of DefaultBHttpServerConnection.
    `DefaultBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)`
    `DefaultBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)`
    `DefaultHttpResponseParser(LineParser lineParser, HttpResponseFactory<ClassicHttpResponse> responseFactory, Http1Config http1Config)` Creates new instance of DefaultHttpResponseParser.
    `DefaultHttpResponseParserFactory(LineParser lineParser, HttpResponseFactory<ClassicHttpResponse> responseFactory)`
    `HttpService(HttpProcessor processor, HttpRequestMapper<HttpRequestHandler> handlerMapper, ConnectionReuseStrategy connReuseStrategy, HttpResponseFactory<ClassicHttpResponse> responseFactory)` Create a new HTTP service.
    `HttpService(HttpProcessor processor, HttpRequestMapper<HttpRequestHandler> handlerMapper, ConnectionReuseStrategy connReuseStrategy, HttpResponseFactory<ClassicHttpResponse> responseFactory, Http1StreamListener streamListener)` Create a new HTTP service.

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

    Methods in org.apache.hc.core5.http.io that return ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpResponse` | HttpClientConnection.`receiveResponseHeader()` Receives the request line and headers of the next response available from this connection.

    Methods in org.apache.hc.core5.http.io with parameters of type ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpRequestHandler.`handle(ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context)` Handles the request and produces a response to be sent back to the client.
    `T` | HttpClientResponseHandler.`handleResponse(ClassicHttpResponse response)` Processes an `ClassicHttpResponse` and returns some value corresponding to that response.
    `void` | HttpClientConnection.`receiveResponseEntity(ClassicHttpResponse response)` Receives the next response entity available from this connection and attaches it to an existing HttpResponse object.
    `void` | HttpServerRequestHandler.ResponseTrigger.`sendInformation(ClassicHttpResponse response)` Sends an intermediate informational HTTP response to the client.
    `void` | HttpFilterChain.ResponseTrigger.`sendInformation(ClassicHttpResponse response)` Sends an intermediate informational HTTP response to the client.
    `void` | HttpServerConnection.`sendResponseEntity(ClassicHttpResponse response)` Sends the response entity of a response over this connection.
    `void` | HttpServerConnection.`sendResponseHeader(ClassicHttpResponse response)` Sends the response line and headers of a response over this connection.
    `void` | HttpServerRequestHandler.ResponseTrigger.`submitResponse(ClassicHttpResponse response)` Sends a final HTTP response to the client.
    `void` | HttpFilterChain.ResponseTrigger.`submitResponse(ClassicHttpResponse response)` Sends a final HTTP response to the client.

  - ### Uses of ClassicHttpResponse in org.apache.hc.core5.http.io.support

    Methods in org.apache.hc.core5.http.io.support that return ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpResponse` | ClassicResponseBuilder.`build()`
    `protected ClassicHttpResponse` | BasicHttpServerExpectationDecorator.`verify(ClassicHttpRequest request, HttpContext context)` Verifies the HTTP request and decides whether it meets server expectations and the request processing can continue.

    Constructor parameters in org.apache.hc.core5.http.io.support with type arguments of type ClassicHttpResponse
    Constructor and Description
    `BasicHttpServerRequestHandler(HttpRequestMapper<HttpRequestHandler> handlerMapper, HttpResponseFactory<ClassicHttpResponse> responseFactory)`
    `TerminalServerFilter(HttpRequestMapper<HttpRequestHandler> handlerMapper, HttpResponseFactory<ClassicHttpResponse> responseFactory)`

  - ### Uses of ClassicHttpResponse in org.apache.hc.core5.http.message

    Classes in org.apache.hc.core5.http.message that implement ClassicHttpResponse
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicClassicHttpResponse` Basic implementation of `ClassicHttpResponse`.

  - ### Uses of ClassicHttpResponse in org.apache.hc.core5.testing.classic

    Methods in org.apache.hc.core5.testing.classic that return ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpResponse` | ClassicTestClient.`execute(HttpHost targetHost, ClassicHttpRequest request, HttpContext context)`

    Methods in org.apache.hc.core5.testing.classic with parameters of type ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | LoggingBHttpClientConnection.`onResponseReceived(ClassicHttpResponse response)`
    `protected void` | LoggingBHttpServerConnection.`onResponseSubmitted(ClassicHttpResponse response)`

    Constructor parameters in org.apache.hc.core5.testing.classic with type arguments of type ClassicHttpResponse
    Constructor and Description
    `LoggingBHttpClientConnection(Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)`
    `LoggingBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)`
    `LoggingBHttpClientConnectionFactory(Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)`
    `LoggingBHttpServerConnection(String scheme, Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)`
    `LoggingBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)`
    `LoggingBHttpServerConnectionFactory(String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpRequest> requestParserFactory, HttpMessageWriterFactory<ClassicHttpResponse> responseWriterFactory)`

  - ### Uses of ClassicHttpResponse in org.apache.hc.core5.testing.framework

    Methods in org.apache.hc.core5.testing.framework with parameters of type ClassicHttpResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | TestingFrameworkRequestHandler.`handle(ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context)` Checks the HTTP request against the requestExpectations that it was previously given.

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