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. -
-
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 voidAsyncFilterChain.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 classAbstractBinAsyncEntityProducerAbstract binary entity content producer.classAbstractCharAsyncEntityProducerAbstract text entity content producer.classAsyncEntityProducerWrapperBase class for wrapping entity producers that delegates all calls to the wrapped producer.classBasicAsyncEntityProducerBasicAsyncEntityProducerimplementation that generates data stream from content of a byte array.classDigestingEntityProducerAsyncEntityProducerdecorator that calculates a digest hash from the data stream content and appends its value to the list of trailers.classFileEntityProducerAsyncEntityProducerimplementation that generates data stream from content of aFile.classPathEntityProducerAsyncEntityProducerimplementation that generates a data stream from the content at aPath.classStringAsyncEntityProducerBasicAsyncDataProducerimplementation 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 Description static AsyncEntityProducerAsyncEntityProducers. create(byte[] content, ContentType contentType)static AsyncEntityProducerAsyncEntityProducers. create(byte[] content, ContentType contentType, Header... trailers)static AsyncEntityProducerAsyncEntityProducers. create(java.io.File content, ContentType contentType)static AsyncEntityProducerAsyncEntityProducers. create(java.io.File content, ContentType contentType, Header... trailers)static AsyncEntityProducerAsyncEntityProducers. create(java.lang.String content)static AsyncEntityProducerAsyncEntityProducers. create(java.lang.String content, java.nio.charset.Charset charset)static AsyncEntityProducerAsyncEntityProducers. create(java.lang.String content, java.nio.charset.Charset charset, Header... trailers)static AsyncEntityProducerAsyncEntityProducers. create(java.lang.String content, ContentType contentType)static AsyncEntityProducerAsyncEntityProducers. create(java.lang.String content, ContentType contentType, Header... trailers)static AsyncEntityProducerAsyncEntityProducers. create(java.lang.String content, Header... trailers)static AsyncEntityProducerAsyncEntityProducers. create(java.nio.file.Path content, ContentType contentType, java.nio.file.OpenOption... options)static AsyncEntityProducerAsyncEntityProducers. create(java.nio.file.Path content, ContentType contentType, Header... trailers)static AsyncEntityProducerAsyncEntityProducers. createBinary(Callback<StreamChannel<java.nio.ByteBuffer>> callback, ContentType contentType)static AsyncEntityProducerAsyncEntityProducers. createBinary(Callback<StreamChannel<java.nio.ByteBuffer>> callback, ContentType contentType, Header... trailers)static AsyncEntityProducerAsyncEntityProducers. createText(Callback<StreamChannel<java.nio.CharBuffer>> callback, ContentType contentType)static AsyncEntityProducerAsyncEntityProducers. createText(Callback<StreamChannel<java.nio.CharBuffer>> callback, ContentType contentType, Header... trailers)static AsyncEntityProducerAsyncEntityProducers. createUrlEncoded(java.lang.Iterable<? extends NameValuePair> parameters, java.nio.charset.Charset charset)static AsyncEntityProducerAsyncEntityProducers. 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 AsyncEntityProducerAsyncEntityProducers. 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
Methods in org.apache.hc.core5.http.nio.support that return AsyncEntityProducer Modifier and Type Method Description protected AsyncEntityProducerAbstractAsyncServerAuthFilter. generateResponseContent(HttpResponse unauthorized)Generates response body for UNAUTHORIZED response.protected AsyncEntityProducerAsyncServerExpectationFilter. generateResponseContent(HttpResponse expectationFailed)AsyncEntityProducerAsyncPushBuilder. getEntity()AsyncEntityProducerAsyncRequestBuilder. getEntity()AsyncEntityProducerAsyncResponseBuilder. getEntity()Methods in org.apache.hc.core5.http.nio.support with parameters of type AsyncEntityProducer Modifier and Type Method Description AsyncClientPipeline.ResponseStageAsyncClientPipeline.RequestContentStage. produceContent(AsyncEntityProducer dataProducer)ConfiguresAsyncEntityProducerto be used by the pipeline to generate the outgoing request content stream.AsyncPushBuilderAsyncPushBuilder. setEntity(AsyncEntityProducer entityProducer)AsyncRequestBuilderAsyncRequestBuilder. setEntity(AsyncEntityProducer entityProducer)AsyncResponseBuilderAsyncResponseBuilder. setEntity(AsyncEntityProducer entityProducer)Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type AsyncEntityProducer Modifier and Type Method Description <O> AsyncServerPipeline.RequestHandlingStage<I,Message<HttpResponse,O>>AsyncServerPipeline.ResponseContentStage. produceContent(Resolver<O,AsyncEntityProducer> dataProducerResolver)ResolvesAsyncEntityProducerto be used by the pipeline to generate the outgoing response content stream based on the given response content object. -
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 classAbstractClassicEntityProducerDeprecated.
-