| 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 | Method and Description | 
|---|---|
| void | AsyncFilterChain.ResponseTrigger. submitResponse(HttpResponse response,
              AsyncEntityProducer entityProducer)Sends a final HTTP response to the client. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractBinAsyncEntityProducerAbstract binary entity content producer. | 
| class  | AbstractCharAsyncEntityProducerAbstract text entity content producer. | 
| class  | AsyncEntityProducerWrapperBase class for wrapping entity producers that delegates all calls to the wrapped producer. | 
| class  | BasicAsyncEntityProducerBasic  AsyncEntityProducerimplementation that generates data stream
 from content of a byte array. | 
| class  | DigestingEntityProducerAsyncEntityProducerdecorator that calculates a digest hash from
 the data stream content and appends its value to the list of trailers. | 
| class  | FileEntityProducerAsyncEntityProducerimplementation that generates data stream
 from content of aFile. | 
| class  | StringAsyncEntityProducerBasic  AsyncDataProducerimplementation that
 generates data stream from content of a string. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AsyncEntityProducer | AsyncEntityProducers. create(byte[] content,
      ContentType contentType) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(byte[] content,
      ContentType contentType,
      Header... trailers) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(File content,
      ContentType contentType) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(File content,
      ContentType contentType,
      Header... trailers) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(String content) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(String content,
      Charset charset) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(String content,
      Charset charset,
      Header... trailers) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(String content,
      ContentType contentType) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(String content,
      ContentType contentType,
      Header... trailers) | 
| static AsyncEntityProducer | AsyncEntityProducers. create(String content,
      Header... trailers) | 
| static AsyncEntityProducer | AsyncEntityProducers. createBinary(Callback<StreamChannel<ByteBuffer>> callback,
            ContentType contentType) | 
| static AsyncEntityProducer | AsyncEntityProducers. createBinary(Callback<StreamChannel<ByteBuffer>> callback,
            ContentType contentType,
            Header... trailers) | 
| static AsyncEntityProducer | AsyncEntityProducers. createText(Callback<StreamChannel<CharBuffer>> callback,
          ContentType contentType) | 
| static AsyncEntityProducer | AsyncEntityProducers. createText(Callback<StreamChannel<CharBuffer>> callback,
          ContentType contentType,
          Header... trailers) | 
| static AsyncEntityProducer | AsyncEntityProducers. createUrlEncoded(Iterable<? extends NameValuePair> parameters,
                Charset charset) | 
| static AsyncEntityProducer | AsyncEntityProducers. withTrailers(AsyncEntityProducer entity,
            Header... trailers) | 
| Modifier and Type | Method and Description | 
|---|---|
| static AsyncEntityProducer | AsyncEntityProducers. withTrailers(AsyncEntityProducer entity,
            Header... trailers) | 
| Constructor and Description | 
|---|
| AsyncEntityProducerWrapper(AsyncEntityProducer wrappedEntityProducer) | 
| DigestingEntityProducer(String algo,
                       AsyncEntityProducer wrapped) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected AsyncEntityProducer | AbstractAsyncServerAuthFilter. generateResponseContent(HttpResponse unauthorized)Generates response body for UNAUTHORIZED response. | 
| protected AsyncEntityProducer | AsyncServerExpectationFilter. generateResponseContent(HttpResponse expectationFailed) | 
| AsyncEntityProducer | AsyncRequestBuilder. getEntity() | 
| AsyncEntityProducer | AsyncPushBuilder. getEntity() | 
| AsyncEntityProducer | AsyncResponseBuilder. getEntity() | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncRequestBuilder | AsyncRequestBuilder. setEntity(AsyncEntityProducer entityProducer) | 
| AsyncPushBuilder | AsyncPushBuilder. setEntity(AsyncEntityProducer entityProducer) | 
| AsyncResponseBuilder | AsyncResponseBuilder. setEntity(AsyncEntityProducer entityProducer) | 
| Constructor and Description | 
|---|
| BasicPushProducer(AsyncEntityProducer dataProducer) | 
| BasicPushProducer(HttpResponse response,
                 AsyncEntityProducer dataProducer) | 
| BasicPushProducer(int code,
                 AsyncEntityProducer dataProducer) | 
| BasicRequestProducer(HttpRequest request,
                    AsyncEntityProducer dataProducer) | 
| BasicRequestProducer(Method method,
                    HttpHost host,
                    String path,
                    AsyncEntityProducer dataProducer) | 
| BasicRequestProducer(Method method,
                    URI requestUri,
                    AsyncEntityProducer dataProducer) | 
| BasicRequestProducer(String method,
                    HttpHost host,
                    String path,
                    AsyncEntityProducer dataProducer) | 
| BasicRequestProducer(String method,
                    URI requestUri,
                    AsyncEntityProducer dataProducer) | 
| BasicResponseProducer(AsyncEntityProducer dataProducer) | 
| BasicResponseProducer(HttpResponse response,
                     AsyncEntityProducer dataProducer) | 
| BasicResponseProducer(int code,
                     AsyncEntityProducer dataProducer) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractClassicEntityProducerAsyncEntityProducerimplementation that acts as a compatibility
 layer for classicOutputStreambased interfaces. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ReactiveEntityProducerAn  AsyncEntityProducerthat subscribes to aPublisherinstance, as defined by the Reactive Streams specification. | 
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.