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

- Packages that use ClassicHttpRequest
  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 ClassicHttpRequest in org.apache.hc.core5.http.impl.bootstrap

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type ClassicHttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpResponse` | HttpRequester.`execute(HttpClientConnection connection, ClassicHttpRequest request, HttpContext context)`
    `<T> T` | HttpRequester.`execute(HttpClientConnection connection, ClassicHttpRequest request, HttpContext context, HttpClientResponseHandler<T> responseHandler)`
    `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)`
    `<T> T` | HttpRequester.`execute(HttpHost targetHost, ClassicHttpRequest request, Timeout connectTimeout, HttpContext context, HttpClientResponseHandler<T> responseHandler)`
    `boolean` | HttpRequester.`keepAlive(HttpClientConnection connection, ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context)`

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

    Methods in org.apache.hc.core5.http.impl.io that return ClassicHttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `protected ClassicHttpRequest` | DefaultHttpRequestParser.`createMessage(CharArrayBuffer buffer)`
    `ClassicHttpRequest` | DefaultClassicHttpRequestFactory.`newHttpRequest(String method, String uri)`
    `ClassicHttpRequest` | DefaultClassicHttpRequestFactory.`newHttpRequest(String method, URI uri)`
    `ClassicHttpRequest` | DefaultHttpRequestParser.`parse(SessionInputBuffer buffer, InputStream inputStream)`
    `ClassicHttpRequest` | DefaultBHttpServerConnection.`receiveRequestHeader()`

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

    Methods in org.apache.hc.core5.http.impl.io with parameters of type ClassicHttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `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.
    `boolean` | NoResponseOutOfOrderStrategy.`isEarlyResponseDetected(ClassicHttpRequest request, HttpClientConnection connection, InputStream inputStream, long totalBytesSent, long nextWriteSize)`
    `boolean` | MonitoringResponseOutOfOrderStrategy.`isEarlyResponseDetected(ClassicHttpRequest request, HttpClientConnection connection, InputStream inputStream, long totalBytesSent, long nextWriteSize)`
    `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` | DefaultBHttpServerConnection.`onRequestReceived(ClassicHttpRequest request)`
    `protected void` | DefaultBHttpClientConnection.`onRequestSubmitted(ClassicHttpRequest request)`
    `void` | HttpRequestExecutor.`preProcess(ClassicHttpRequest request, HttpProcessor processor, HttpContext context)` Pre-process the given request using the given protocol processor and initiates the process of request execution.
    `void` | DefaultBHttpServerConnection.`receiveRequestEntity(ClassicHttpRequest request)`
    `void` | DefaultBHttpClientConnection.`sendRequestEntity(ClassicHttpRequest request)`
    `void` | DefaultBHttpClientConnection.`sendRequestHeader(ClassicHttpRequest request)`
    `void` | DefaultBHttpClientConnection.`terminateRequest(ClassicHttpRequest request)`
    `protected void` | DefaultHttpRequestWriter.`writeHeadLine(ClassicHttpRequest message, CharArrayBuffer lineBuf)`

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

    Constructor parameters in org.apache.hc.core5.http.impl.io with type arguments of type ClassicHttpRequest
    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)`
    `DefaultHttpRequestParser(LineParser lineParser, HttpRequestFactory<ClassicHttpRequest> requestFactory, Http1Config http1Config)` Creates new instance of DefaultHttpRequestParser.
    `DefaultHttpRequestParserFactory(LineParser lineParser, HttpRequestFactory<ClassicHttpRequest> requestFactory)`

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

    Methods in org.apache.hc.core5.http.io that return ClassicHttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpRequest` | HttpServerConnection.`receiveRequestHeader()` Receives the request line and all headers available from this connection.

    Methods in org.apache.hc.core5.http.io with parameters of type ClassicHttpRequest
    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.
    `void` | HttpFilterHandler.`handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain)` Processes the incoming HTTP request and if processing has been completed submits a final response to the client.
    `void` | HttpServerRequestHandler.`handle(ClassicHttpRequest request, HttpServerRequestHandler.ResponseTrigger responseTrigger, HttpContext context)` Handles the request and submits a final response to be sent back to the client.
    `boolean` | ResponseOutOfOrderStrategy.`isEarlyResponseDetected(ClassicHttpRequest request, HttpClientConnection connection, InputStream inputStream, long totalBytesSent, long nextWriteSize)` Called before each write to the to a socket `OutputStream` with the number of bytes that have already been sent, and the size of the write that will occur if this check does not encounter an out of order response.
    `void` | HttpFilterChain.`proceed(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context)` Proceeds to the next element in the request processing chain.
    `void` | HttpServerConnection.`receiveRequestEntity(ClassicHttpRequest request)` Receives the next request entity available from this connection and attaches it to an existing request.
    `void` | HttpClientConnection.`sendRequestEntity(ClassicHttpRequest request)` Sends the request entity over the connection.
    `void` | HttpClientConnection.`sendRequestHeader(ClassicHttpRequest request)` Sends the request line and all headers over the connection.
    `void` | HttpClientConnection.`terminateRequest(ClassicHttpRequest request)` Terminates request prematurely potentially leaving the connection in a inconsistent state.

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

    Methods in org.apache.hc.core5.http.io.support that return ClassicHttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpRequest` | ClassicRequestBuilder.`build()`

    Methods in org.apache.hc.core5.http.io.support with parameters of type ClassicHttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `static ClassicRequestBuilder` | ClassicRequestBuilder.`copy(ClassicHttpRequest request)`
    `protected void` | ClassicRequestBuilder.`digest(ClassicHttpRequest request)`
    `void` | HttpServerFilterChainElement.`handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context)`
    `void` | AbstractHttpServerAuthFilter.`handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain)`
    `void` | TerminalServerFilter.`handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain)`
    `void` | HttpServerExpectationFilter.`handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain)`
    `void` | HttpServerFilterChainRequestHandler.`handle(ClassicHttpRequest request, HttpServerRequestHandler.ResponseTrigger trigger, HttpContext context)`
    `void` | BasicHttpServerExpectationDecorator.`handle(ClassicHttpRequest request, HttpServerRequestHandler.ResponseTrigger responseTrigger, HttpContext context)`
    `void` | BasicHttpServerRequestHandler.`handle(ClassicHttpRequest request, HttpServerRequestHandler.ResponseTrigger responseTrigger, HttpContext context)`
    `protected boolean` | HttpServerExpectationFilter.`verify(ClassicHttpRequest request, HttpContext context)` Verifies the HTTP request and decides whether it meets server expectations and the request processing can continue.
    `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.

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

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

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

    Methods in org.apache.hc.core5.testing.classic with parameters of type ClassicHttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `ClassicHttpResponse` | ClassicTestClient.`execute(HttpHost targetHost, ClassicHttpRequest request, HttpContext context)`
    `protected void` | LoggingBHttpServerConnection.`onRequestReceived(ClassicHttpRequest request)`
    `protected void` | LoggingBHttpClientConnection.`onRequestSubmitted(ClassicHttpRequest request)`

    Constructor parameters in org.apache.hc.core5.testing.classic with type arguments of type ClassicHttpRequest
    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 ClassicHttpRequest in org.apache.hc.core5.testing.framework

    Methods in org.apache.hc.core5.testing.framework with parameters of type ClassicHttpRequest
    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–2022 The Apache Software Foundation. All rights reserved.