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 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 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
BasicAsyncEntityProducer
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 aFile
.class
PathEntityProducer
AsyncEntityProducer
implementation that generates a data stream from the content at aPath
.class
StringAsyncEntityProducer
BasicAsyncDataProducer
implementation that generates data stream from content of a string.Fields in org.apache.hc.core5.http.nio.entity declared as AsyncEntityProducer Modifier and Type Field Description private AsyncEntityProducer
DigestingEntityProducer. wrapped
private AsyncEntityProducer
AsyncEntityProducerWrapper. wrappedEntityProducer
Methods in org.apache.hc.core5.http.nio.entity that return AsyncEntityProducer Modifier and Type Method Description static AsyncEntityProducer
AsyncEntityProducers. create(byte[] content, ContentType contentType)
static AsyncEntityProducer
AsyncEntityProducers. create(byte[] content, ContentType contentType, Header... trailers)
static AsyncEntityProducer
AsyncEntityProducers. create(java.io.File content, ContentType contentType)
static AsyncEntityProducer
AsyncEntityProducers. create(java.io.File content, ContentType contentType, Header... trailers)
static AsyncEntityProducer
AsyncEntityProducers. create(java.lang.String content)
static AsyncEntityProducer
AsyncEntityProducers. create(java.lang.String content, java.nio.charset.Charset charset)
static AsyncEntityProducer
AsyncEntityProducers. create(java.lang.String content, java.nio.charset.Charset charset, Header... trailers)
static AsyncEntityProducer
AsyncEntityProducers. create(java.lang.String content, ContentType contentType)
static AsyncEntityProducer
AsyncEntityProducers. create(java.lang.String content, ContentType contentType, Header... trailers)
static AsyncEntityProducer
AsyncEntityProducers. create(java.lang.String content, Header... trailers)
static AsyncEntityProducer
AsyncEntityProducers. create(java.nio.file.Path content, ContentType contentType, java.nio.file.OpenOption... options)
static AsyncEntityProducer
AsyncEntityProducers. create(java.nio.file.Path content, ContentType contentType, Header... trailers)
static AsyncEntityProducer
AsyncEntityProducers. createBinary(Callback<StreamChannel<java.nio.ByteBuffer>> callback, ContentType contentType)
static AsyncEntityProducer
AsyncEntityProducers. createBinary(Callback<StreamChannel<java.nio.ByteBuffer>> callback, ContentType contentType, Header... trailers)
static AsyncEntityProducer
AsyncEntityProducers. createText(Callback<StreamChannel<java.nio.CharBuffer>> callback, ContentType contentType)
static AsyncEntityProducer
AsyncEntityProducers. createText(Callback<StreamChannel<java.nio.CharBuffer>> callback, ContentType contentType, Header... trailers)
static AsyncEntityProducer
AsyncEntityProducers. createUrlEncoded(java.lang.Iterable<? extends NameValuePair> parameters, java.nio.charset.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 Description static AsyncEntityProducer
AsyncEntityProducers. withTrailers(AsyncEntityProducer entity, Header... trailers)
Constructors in org.apache.hc.core5.http.nio.entity with parameters of type AsyncEntityProducer Constructor Description AsyncEntityProducerWrapper(AsyncEntityProducer wrappedEntityProducer)
DigestingEntityProducer(java.lang.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 AsyncEntityProducer Modifier and Type Field Description private AsyncEntityProducer
BasicPushProducer. dataProducer
private AsyncEntityProducer
BasicRequestProducer. dataProducer
private 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 AsyncEntityProducer Modifier and Type Method Description protected AsyncEntityProducer
AbstractAsyncServerAuthFilter. generateResponseContent(HttpResponse unauthorized)
Generates response body for UNAUTHORIZED response.protected AsyncEntityProducer
AsyncServerExpectationFilter. generateResponseContent(HttpResponse expectationFailed)
AsyncEntityProducer
AsyncPushBuilder. getEntity()
AsyncEntityProducer
AsyncRequestBuilder. getEntity()
AsyncEntityProducer
AsyncResponseBuilder. getEntity()
Methods in org.apache.hc.core5.http.nio.support with parameters of type AsyncEntityProducer Modifier and Type Method Description AsyncPushBuilder
AsyncPushBuilder. setEntity(AsyncEntityProducer entityProducer)
AsyncRequestBuilder
AsyncRequestBuilder. setEntity(AsyncEntityProducer entityProducer)
AsyncResponseBuilder
AsyncResponseBuilder. setEntity(AsyncEntityProducer entityProducer)
-
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 Description class
AbstractClassicEntityProducer
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 AsyncEntityProducer Modifier and Type Class Description class
ReactiveEntityProducer
AnAsyncEntityProducer
that subscribes to aPublisher
instance, as defined by the Reactive Streams specification.
-