Uses of Interface
org.apache.hc.core5.http.nio.AsyncEntityProducer
Packages that use AsyncEntityProducer
Package
Description
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.
Support classes for the asynchronous I/O model.
Support classes for the asynchronous I/O model that emulate
behavior of the classic (blocking) I/O model.
-
Uses of AsyncEntityProducer in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type AsyncEntityProducerModifier and TypeMethodDescriptionvoid
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 AsyncEntityProducerModifier and TypeClassDescriptionclass
Abstract binary entity content producer.class
Abstract text entity content producer.class
Base class for wrapping entity producers that delegates all calls to the wrapped producer.class
BasicAsyncEntityProducer
implementation that generates data stream from content of a byte array.class
AsyncEntityProducer
decorator that calculates a digest hash from the data stream content and appends its value to the list of trailers.final class
AsyncEntityProducer
implementation that generates data stream from content of aFile
.final class
AsyncEntityProducer
implementation that generates a data stream from the content at aPath
.class
BasicAsyncDataProducer
implementation that generates data stream from content of a string.Fields in org.apache.hc.core5.http.nio.entity declared as AsyncEntityProducerModifier and TypeFieldDescriptionprivate final AsyncEntityProducer
DigestingEntityProducer.wrapped
private final AsyncEntityProducer
AsyncEntityProducerWrapper.wrappedEntityProducer
Methods in org.apache.hc.core5.http.nio.entity that return AsyncEntityProducerModifier and TypeMethodDescriptionstatic 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
static AsyncEntityProducer
static AsyncEntityProducer
static AsyncEntityProducer
AsyncEntityProducers.create
(String content, ContentType contentType) static AsyncEntityProducer
AsyncEntityProducers.create
(String content, ContentType contentType, Header... trailers) static AsyncEntityProducer
static AsyncEntityProducer
AsyncEntityProducers.create
(Path content, ContentType contentType, OpenOption... options) static AsyncEntityProducer
AsyncEntityProducers.create
(Path content, ContentType contentType, 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 AsyncEntityProducerModifier and TypeMethodDescriptionstatic AsyncEntityProducer
AsyncEntityProducers.withTrailers
(AsyncEntityProducer entity, Header... trailers) Constructors in org.apache.hc.core5.http.nio.entity with parameters of type AsyncEntityProducerModifierConstructorDescriptionAsyncEntityProducerWrapper
(AsyncEntityProducer wrappedEntityProducer) DigestingEntityProducer
(String algo, AsyncEntityProducer wrapped) -
Uses of AsyncEntityProducer in org.apache.hc.core5.http.nio.support
Fields in org.apache.hc.core5.http.nio.support declared as AsyncEntityProducerModifier and TypeFieldDescriptionprivate final AsyncEntityProducer
BasicPushProducer.dataProducer
private final AsyncEntityProducer
BasicRequestProducer.dataProducer
private final AsyncEntityProducer
BasicResponseProducer.dataProducer
private AsyncEntityProducer
AsyncPushBuilder.entityProducer
private AsyncEntityProducer
AsyncRequestBuilder.entityProducer
private AsyncEntityProducer
AsyncResponseBuilder.entityProducer
Methods in org.apache.hc.core5.http.nio.support that return AsyncEntityProducerModifier and TypeMethodDescriptionprotected AsyncEntityProducer
AbstractAsyncServerAuthFilter.generateResponseContent
(HttpResponse unauthorized) Generates response body for UNAUTHORIZED response.protected AsyncEntityProducer
AsyncServerExpectationFilter.generateResponseContent
(HttpResponse expectationFailed) AsyncPushBuilder.getEntity()
AsyncRequestBuilder.getEntity()
AsyncResponseBuilder.getEntity()
Methods in org.apache.hc.core5.http.nio.support with parameters of type AsyncEntityProducerModifier and TypeMethodDescriptionAsyncPushBuilder.setEntity
(AsyncEntityProducer entityProducer) AsyncRequestBuilder.setEntity
(AsyncEntityProducer entityProducer) AsyncResponseBuilder.setEntity
(AsyncEntityProducer entityProducer) Constructors in org.apache.hc.core5.http.nio.support with parameters of type AsyncEntityProducerModifierConstructorDescriptionBasicPushProducer
(int code, AsyncEntityProducer dataProducer) BasicPushProducer
(HttpResponse response, AsyncEntityProducer dataProducer) BasicPushProducer
(AsyncEntityProducer dataProducer) BasicRequestProducer
(String method, URI requestUri, AsyncEntityProducer dataProducer) BasicRequestProducer
(String method, HttpHost host, String path, AsyncEntityProducer dataProducer) BasicRequestProducer
(HttpRequest request, AsyncEntityProducer dataProducer) BasicRequestProducer
(Method method, URI requestUri, AsyncEntityProducer dataProducer) BasicRequestProducer
(Method method, HttpHost host, String path, AsyncEntityProducer dataProducer) BasicResponseProducer
(int code, AsyncEntityProducer dataProducer) BasicResponseProducer
(HttpResponse response, AsyncEntityProducer dataProducer) BasicResponseProducer
(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 AsyncEntityProducerModifier and TypeClassDescriptionclass
AsyncEntityProducer
implementation that acts as a compatibility layer for classicOutputStream
based interfaces. -
Uses of AsyncEntityProducer in org.apache.hc.core5.reactive
Classes in org.apache.hc.core5.reactive that implement AsyncEntityProducerModifier and TypeClassDescriptionfinal class
AnAsyncEntityProducer
that subscribes to aPublisher
instance, as defined by the Reactive Streams specification.