Uses of Interface
org.apache.hc.core5.http.nio.AsyncResponseProducer
Packages that use AsyncResponseProducer
Package
Description
Core HTTP transport APIs based on the asynchronous, event driven 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 AsyncResponseProducer in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type AsyncResponseProducerModifier and TypeMethodDescriptionvoidAsyncServerRequestHandler.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 AsyncResponseProducerModifier and TypeClassDescriptionclassBasic 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 AsyncResponseProducerModifier and TypeMethodDescriptionAsyncResponseBuilder.build()protected AsyncResponseProducerAbstractServerExchangeHandler.handleError(Exception ex) protected AsyncResponseProducerBasicAsyncServerExpectationDecorator.verify(HttpRequest request, HttpContext context) Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type AsyncResponseProducerModifier and TypeMethodDescriptionAsyncServerPipeline.RequestHandlingStage.exception(Resolver<Exception, AsyncResponseProducer> exceptionMapper) Configures the pipeline to resolve the exception to a response message stream.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 AsyncResponseProducerModifierConstructorDescriptionImmediateResponseExchangeHandler(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 AsyncResponseProducerModifier and TypeMethodDescriptionprotected AsyncResponseProducerClassicToAsyncServerExchangeHandler.handleError(Exception ex)