## Uses of Interface
org.apache.hc.core5.http.nio.AsyncEntityProducer

- Packages that use AsyncEntityProducer
  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 |

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

    Methods in org.apache.hc.core5.http.nio with parameters of type AsyncEntityProducer
    Modifier and Type | Method and Description
    --- | ---
    `void` | AsyncFilterChain.ResponseTrigger.`submitResponse(HttpResponse response, AsyncEntityProducer entityProducer)` Sends a final HTTP response to the client.

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

    Classes in org.apache.hc.core5.http.nio.entity that implement AsyncEntityProducer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractBinAsyncEntityProducer` Abstract binary entity content producer.
    `class` | `AbstractCharAsyncEntityProducer` Abstract text entity content producer.
    `class` | `AsyncEntityProducerWrapper` Base class for wrapping entity producers that delegates all calls to the wrapped producer.
    `class` | `BasicAsyncEntityProducer` Basic `AsyncEntityProducer` implementation that generates data stream from content of a byte array.
    `class` | `DigestingEntityProducer` `AsyncEntityProducer` decorator that calculates a digest hash from the data stream content and appends its value to the list of trailers.
    `class` | `FileEntityProducer` `AsyncEntityProducer` implementation that generates data stream from content of a `File`.
    `class` | `StringAsyncEntityProducer` Basic `AsyncDataProducer` implementation that generates data stream from content of a string.

    Methods in org.apache.hc.core5.http.nio.entity that return AsyncEntityProducer
    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)`

    Methods in org.apache.hc.core5.http.nio.entity with parameters of type AsyncEntityProducer
    Modifier and Type | Method and Description
    --- | ---
    `static AsyncEntityProducer` | AsyncEntityProducers.`withTrailers(AsyncEntityProducer entity, Header... trailers)`

    Constructors in org.apache.hc.core5.http.nio.entity with parameters of type AsyncEntityProducer
    Constructor and Description
    `AsyncEntityProducerWrapper(AsyncEntityProducer wrappedEntityProducer)`
    `DigestingEntityProducer(String algo, AsyncEntityProducer wrapped)`

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

    Methods in org.apache.hc.core5.http.nio.support that return AsyncEntityProducer
    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()`

    Methods in org.apache.hc.core5.http.nio.support with parameters of type AsyncEntityProducer
    Modifier and Type | Method and Description
    --- | ---
    `AsyncRequestBuilder` | AsyncRequestBuilder.`setEntity(AsyncEntityProducer entityProducer)`
    `AsyncPushBuilder` | AsyncPushBuilder.`setEntity(AsyncEntityProducer entityProducer)`
    `AsyncResponseBuilder` | AsyncResponseBuilder.`setEntity(AsyncEntityProducer entityProducer)`

    Constructors in org.apache.hc.core5.http.nio.support with parameters of type AsyncEntityProducer
    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)`

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

    Classes in org.apache.hc.core5.http.nio.support.classic that implement AsyncEntityProducer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractClassicEntityProducer` `AsyncEntityProducer` implementation that acts as a compatibility layer for classic `OutputStream` based interfaces.

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

    Classes in org.apache.hc.core5.reactive that implement AsyncEntityProducer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ReactiveEntityProducer` An `AsyncEntityProducer` that subscribes to a `Publisher` instance, as defined by the Reactive Streams specification.

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