Uses of Interface
org.apache.hc.core5.http.nio.AsyncResponseProducer
-
Packages that use AsyncResponseProducer 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.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 AsyncResponseProducer in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type AsyncResponseProducer Modifier and Type Method Description voidAsyncServerRequestHandler.ResponseTrigger. submitResponse(AsyncResponseProducer responseProducer, HttpContext context)Sends a final HTTP response to the client. -
Uses of AsyncResponseProducer in org.apache.hc.core5.http.nio.support
Classes in org.apache.hc.core5.http.nio.support that implement AsyncResponseProducer Modifier and Type Class Description classBasicResponseProducerBasic implementation ofAsyncResponseProducerthat produces one fixed response and relies on aAsyncEntityProducerto generate response entity stream.Methods in org.apache.hc.core5.http.nio.support that return AsyncResponseProducer Modifier and Type Method Description AsyncResponseProducerAsyncResponseBuilder. build()protected AsyncResponseProducerAbstractServerExchangeHandler. handleError(java.lang.Exception ex)protected AsyncResponseProducerBasicAsyncServerExpectationDecorator. verify(HttpRequest request, HttpContext context)Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type AsyncResponseProducer Modifier and Type Method Description AsyncServerPipeline.ExceptionStage<I,O>AsyncServerPipeline.RequestHandlingStage. exception(Resolver<java.lang.Exception,AsyncResponseProducer> exceptionMapper)Configures the pipeline to resolve the exception to a response message stream.<O> AsyncServerPipeline.RequestHandlingStage<I,O>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.Constructors in org.apache.hc.core5.http.nio.support with parameters of type AsyncResponseProducer Constructor Description ImmediateResponseExchangeHandler(AsyncResponseProducer responseProducer) -
Uses of AsyncResponseProducer in org.apache.hc.core5.http.nio.support.classic
Methods in org.apache.hc.core5.http.nio.support.classic that return AsyncResponseProducer Modifier and Type Method Description protected AsyncResponseProducerClassicToAsyncServerExchangeHandler. handleError(java.lang.Exception ex)
-