Uses of Class
org.apache.hc.core5.http.nio.support.AsyncServerPipeline.RequestHandlingStage
Packages that use AsyncServerPipeline.RequestHandlingStage
Package
Description
Support classes for the asynchronous I/O model.
-
Uses of AsyncServerPipeline.RequestHandlingStage in org.apache.hc.core5.http.nio.support
Methods in org.apache.hc.core5.http.nio.support that return AsyncServerPipeline.RequestHandlingStageModifier and TypeMethodDescriptionAsyncServerPipeline.ResponseContentStage.asByteArray(ContentType contentType) Configures the pipeline to represent the response message content as byre array.AsyncServerPipeline.ResponseContentStage.asString(ContentType contentType) Configures the pipeline to represent the response message content as a String.AsyncServerPipeline.ResponseContentStage.produce(Resolver<O, AsyncResponseProducer> responseProducerResolver) ResolvesAsyncResponseProducerto be used by the pipeline to generate the outgoing response message stream based on the given response message object.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.