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

- Packages that use HttpRequest
  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.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.nio.support | Support classes for HTTP/2 asynchronous transport.
  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 |
  org.apache.hc.core5.testing.reactive |

- - ### Uses of HttpRequest in org.apache.hc.core5.http

    Classes in org.apache.hc.core5.http with type parameters of type HttpRequest
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `HttpRequestFactory<T extends HttpRequest>` A factory for `HttpRequest` objects.

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

    Methods in org.apache.hc.core5.http with parameters of type HttpRequest
    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` | HttpRequestInterceptor.`process(HttpRequest request, EntityDetails entity, HttpContext context)` Processes a request.
    `T` | HttpRequestMapper.`resolve(HttpRequest request, HttpContext context)` Resolves a handler matching the given request.

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

    Methods in org.apache.hc.core5.http.impl with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DefaultConnectionReuseStrategy.`keepAlive(HttpRequest request, HttpResponse response, HttpContext context)`
    `void` | Http1StreamListener.`onRequestHead(HttpConnection connection, HttpRequest request)`

  - ### Uses of HttpRequest in org.apache.hc.core5.http.impl.nio

    Classes in org.apache.hc.core5.http.impl.nio with type parameters of type HttpRequest
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultHttpRequestParser<T extends HttpRequest>` Default `NHttpMessageParser` implementation for `HttpRequest`s.
    `class` | `DefaultHttpRequestWriter<T extends HttpRequest>` Default `NHttpMessageWriter` implementation for `HttpRequest`s.

    Methods in org.apache.hc.core5.http.impl.nio that return HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `HttpRequest` | DefaultHttpRequestFactory.`newHttpRequest(String method, String uri)`
    `HttpRequest` | DefaultHttpRequestFactory.`newHttpRequest(String method, URI uri)`

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

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

    Constructor parameters in org.apache.hc.core5.http.impl.nio with type arguments of type HttpRequest
    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)`
    `DefaultHttpRequestParserFactory(Http1Config http1Config, HttpRequestFactory<HttpRequest> requestFactory, 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)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, Http1StreamListener streamListener)`

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

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

    Constructors in org.apache.hc.core5.http.message with parameters of type HttpRequest
    Constructor and Description
    `HttpRequestWrapper(HttpRequest message)`
    `RequestLine(HttpRequest request)`

  - ### Uses of HttpRequest in org.apache.hc.core5.http.nio

    Methods in org.apache.hc.core5.http.nio with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `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` | AsyncRequestConsumer.`consumeRequest(HttpRequest request, EntityDetails entityDetails, HttpContext context, FutureCallback<T> resultCallback)` Triggered to signal receipt of a request message head.
    `T` | HandlerFactory.`create(HttpRequest request, HttpContext context)` Creates a new handler instance based on properties of an incoming request message..
    `AsyncDataConsumer` | AsyncFilterHandler.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain)` Processes the incoming HTTP request and if processing has been completed submits a final response to the client.
    `void` | AsyncServerExchangeHandler.`handleRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context)` Processes the actual HTTP request.
    `AsyncRequestConsumer<T>` | AsyncServerRequestHandler.`prepare(HttpRequest request, EntityDetails entityDetails, HttpContext context)` Triggered to signal new incoming request.
    `AsyncDataConsumer` | AsyncFilterChain.`proceed(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger)` Proceeds to the next element in the request processing chain.
    `void` | AsyncFilterChain.ResponseTrigger.`pushPromise(HttpRequest promise, AsyncPushProducer responseProducer)` Pushes a request message head as a promise to deliver a response message.
    `void` | ResponseChannel.`pushPromise(HttpRequest promise, AsyncPushProducer responseProducer, HttpContext context)` Pushes a request message head through this channel as a promise to deliver a response message.
    `void` | AsyncServerRequestHandler.ResponseTrigger.`pushPromise(HttpRequest promise, HttpContext context, AsyncPushProducer responseProducer)` Pushes a request message head as a promise to deliver a response message.
    `void` | RequestChannel.`sendRequest(HttpRequest request, EntityDetails entityDetails, HttpContext context)` Sends a request through this channel.

  - ### Uses of HttpRequest in org.apache.hc.core5.http.nio.support

    Methods in org.apache.hc.core5.http.nio.support with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract T` | AbstractAsyncRequesterConsumer.`buildResult(HttpRequest request, E entity, ContentType contentType)` Triggered to generate object that represents a result of request message processing.
    `void` | AbstractAsyncPushHandler.`consumePromise(HttpRequest promise, HttpResponse response, EntityDetails entityDetails, HttpContext httpContext)`
    `void` | BasicRequestConsumer.`consumeRequest(HttpRequest request, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpRequest,T>> resultCallback)`
    `void` | AbstractAsyncRequesterConsumer.`consumeRequest(HttpRequest request, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<T> resultCallback)`
    `AsyncServerExchangeHandler` | DefaultAsyncResponseExchangeHandlerFactory.`create(HttpRequest request, HttpContext context)`
    `AsyncServerExchangeHandler` | AsyncServerFilterChainExchangeHandlerFactory.`create(HttpRequest request, HttpContext context)`
    `AsyncDataConsumer` | AsyncServerFilterChainElement.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger)`
    `AsyncDataConsumer` | TerminalAsyncServerFilter.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain)`
    `AsyncDataConsumer` | AbstractAsyncServerAuthFilter.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain)`
    `AsyncDataConsumer` | AsyncServerExpectationFilter.`handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain)`
    `protected void` | AbstractAsyncPushHandler.`handleError(HttpRequest promise, Exception cause)` Triggered to handle the exception thrown while processing a push response.
    `void` | ImmediateResponseExchangeHandler.`handleRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context)`
    `void` | AbstractServerExchangeHandler.`handleRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context)`
    `void` | BasicAsyncServerExpectationDecorator.`handleRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context)`
    `protected abstract void` | AbstractAsyncPushHandler.`handleResponse(HttpRequest promise, T responseMessage)` Triggered to handle the push message with the given promised request.
    `protected abstract AsyncRequestConsumer<T>` | AbstractServerExchangeHandler.`supplyConsumer(HttpRequest request, EntityDetails entityDetails, HttpContext context)` Triggered to supply a request consumer to process the incoming request.
    `protected AsyncRequestConsumer<T>` | BasicServerExchangeHandler.`supplyConsumer(HttpRequest request, EntityDetails entityDetails, HttpContext context)`
    `protected boolean` | AsyncServerExpectationFilter.`verify(HttpRequest request, HttpContext context)`
    `protected AsyncResponseProducer` | BasicAsyncServerExpectationDecorator.`verify(HttpRequest request, HttpContext context)`

    Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicRequestConsumer.`consumeRequest(HttpRequest request, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpRequest,T>> resultCallback)`

    Constructors in org.apache.hc.core5.http.nio.support with parameters of type HttpRequest
    Constructor and Description
    `BasicRequestProducer(HttpRequest request, AsyncEntityProducer dataProducer)`

  - ### Uses of HttpRequest in org.apache.hc.core5.http.nio.support.classic

    Methods in org.apache.hc.core5.http.nio.support.classic with parameters of type HttpRequest
    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.
    `void` | AbstractClassicServerExchangeHandler.`handleRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context)`

  - ### Uses of HttpRequest in org.apache.hc.core5.http.protocol

    Methods in org.apache.hc.core5.http.protocol that return HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `HttpRequest` | HttpCoreContext.`getRequest()`

    Methods in org.apache.hc.core5.http.protocol with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | RequestTargetHost.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | RequestContent.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | DefaultHttpProcessor.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | RequestConnControl.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | RequestUserAgent.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | RequestValidateHost.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | RequestExpectContinue.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | RequestDate.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `T` | RequestHandlerRegistry.`resolve(HttpRequest request, HttpContext context)`

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

    Methods in org.apache.hc.core5.http.support with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `static BasicRequestBuilder` | BasicRequestBuilder.`copy(HttpRequest request)`
    `protected void` | AbstractRequestBuilder.`digest(HttpRequest request)`

  - ### Uses of HttpRequest in org.apache.hc.core5.http2.impl

    Methods in org.apache.hc.core5.http2.impl that return HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `HttpRequest` | DefaultH2RequestConverter.`convert(List<Header> headers)`

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

  - ### Uses of HttpRequest in org.apache.hc.core5.http2.nio.support

    Methods in org.apache.hc.core5.http2.nio.support with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `AsyncPushConsumer` | DefaultAsyncPushConsumerFactory.`create(HttpRequest request, HttpContext context)`

  - ### Uses of HttpRequest in org.apache.hc.core5.http2.protocol

    Methods in org.apache.hc.core5.http2.protocol with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | H2RequestTargetHost.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | H2RequestContent.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | H2RequestConnControl.`process(HttpRequest request, EntityDetails entity, HttpContext context)`
    `void` | H2RequestValidateHost.`process(HttpRequest request, EntityDetails entity, HttpContext context)`

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

    Methods in org.apache.hc.core5.reactive with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | ReactiveServerExchangeHandler.`handleRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context)`
    `void` | ReactiveRequestProcessor.`processRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context, org.reactivestreams.Publisher<ByteBuffer> requestBody, Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyCallback)` Processes the actual HTTP request.

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

    Methods in org.apache.hc.core5.testing.classic with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | LoggingHttp1StreamListener.`onRequestHead(HttpConnection connection, HttpRequest request)`

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

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

  - ### Uses of HttpRequest in org.apache.hc.core5.testing.reactive

    Methods in org.apache.hc.core5.testing.reactive with parameters of type HttpRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | ReactiveEchoProcessor.`processRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context, org.reactivestreams.Publisher<ByteBuffer> requestBody, Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyFuture)`
    `void` | ReactiveRandomProcessor.`processRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context, org.reactivestreams.Publisher<ByteBuffer> requestBody, Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyCallback)`

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