| Package | Description | 
|---|---|
| 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.entity | HTTP message entity APIs based on the asynchronous (non-blocking) 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.reactive | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AsyncClientExchangeHandlerAbstract asynchronous client side message exchange handler that acts as a request producer
 and a response consumer. | 
| interface  | AsyncDataExchangeHandlerAbstract asynchronous data exchange handler that acts as a data consumer
 and a data producer. | 
| interface  | AsyncEntityConsumer<T>Abstract asynchronous message entity consumer. | 
| interface  | AsyncPushConsumerAbstract asynchronous push response consumer. | 
| interface  | AsyncRequestConsumer<T>Abstract asynchronous request consumer. | 
| interface  | AsyncResponseConsumer<T>Abstract asynchronous response consumer. | 
| interface  | AsyncServerExchangeHandlerAbstract asynchronous server side message exchange handler that acts as a request consumer
 and a response producer. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| AsyncDataConsumer | AsyncFilterChain. proceed(HttpRequest request,
       EntityDetails entityDetails,
       HttpContext context,
       AsyncFilterChain.ResponseTrigger responseTrigger)Proceeds to the next element in the request processing chain. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractBinAsyncEntityConsumer<T>Abstract binary entity content consumer. | 
| class  | AbstractBinDataConsumerAbstract binary data consumer. | 
| class  | AbstractCharAsyncEntityConsumer<T>Abstract text entity content consumer. | 
| class  | AbstractCharDataConsumerAbstract text data consumer. | 
| class  | BasicAsyncEntityConsumerBasic  AsyncEntityConsumerimplementation
 that processes the data stream content into a byte array. | 
| class  | DigestingEntityConsumer<T>AsyncEntityConsumerdecorator that calculates a digest hash from
 the data stream content and keeps the list of trailers received with
 the data stream. | 
| class  | DiscardingEntityConsumer<T>No-op  AsyncEntityConsumerthat discards all data from the data stream. | 
| class  | NoopEntityConsumerDeprecated. 
 | 
| class  | StringAsyncEntityConsumerBasic  AsyncEntityConsumerimplementation
 that processes the data stream content into a string. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractAsyncPushHandler<T>Abstract push response handler. | 
| class  | AbstractAsyncRequesterConsumer<T,E>Abstract asynchronous request consumer that makes use of  AsyncEntityConsumerto process request message content. | 
| class  | AbstractAsyncResponseConsumer<T,E>Abstract asynchronous response consumer that makes use of  AsyncEntityConsumerto process response message content. | 
| class  | AbstractServerExchangeHandler<T>Abstract server side message exchange handler. | 
| class  | BasicAsyncServerExpectationDecoratorAsyncServerExchangeHandlerimplementation that adds support
 for the Expect-Continue handshake to an existingAsyncServerExchangeHandler. | 
| class  | BasicClientExchangeHandler<T>Basic  AsyncClientExchangeHandlerimplementation that makes use
 ofAsyncRequestProducerto generate request message
 andAsyncResponseConsumerto process the response message returned by the server. | 
| class  | BasicRequestConsumer<T>Basic implementation of  AsyncRequestConsumerthat represents the request message as
 aMessageand relies on aAsyncEntityConsumerto process request entity stream. | 
| class  | BasicResponseConsumer<T>Basic implementation of  AsyncResponseConsumerthat represents response message as
 aMessageand relies on aAsyncEntityConsumerto process response entity
 stream. | 
| class  | BasicServerExchangeHandler<T>Basic  AbstractServerExchangeHandlerimplementation that delegates
 request processing and response generation to aAsyncServerRequestHandler. | 
| class  | ImmediateResponseExchangeHandlerAsyncServerExchangeHandlerimplementation that immediately responds
 with a predefined response generated by aAsyncResponseProducerand
 ignores any entity content enclosed in the request message. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractClassicEntityConsumer<T>AsyncEntityConsumerimplementation that acts as a compatibility
 layer for classicInputStreambased interfaces. | 
| class  | AbstractClassicServerExchangeHandlerAsyncServerExchangeHandlerimplementation that acts as a compatibility
 layer for classicInputStream/OutputStreambased interfaces. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ReactiveResponseConsumerAn  AsyncResponseConsumerthat publishes the response body through
 aPublisher, as defined by the Reactive Streams specification. | 
| class  | ReactiveServerExchangeHandlerAn implementation of  AsyncServerExchangeHandlerdesigned to work with reactive streams. | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.