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.Subclasses with type arguments of type AsyncResponseProducer in org.apache.hc.core5.http.nio.supportFields in org.apache.hc.core5.http.nio.support declared as AsyncResponseProducerModifier and TypeFieldDescriptionprivate final AsyncResponseProducerImmediateResponseExchangeHandler.responseProducerFields in org.apache.hc.core5.http.nio.support with type parameters of type AsyncResponseProducerModifier and TypeFieldDescriptionprivate final Resolver<Exception, AsyncResponseProducer> AsyncServerPipeline.CompletionStage.exceptionMapperprivate final Resolver<Exception, AsyncResponseProducer> AsyncServerPipeline.ExceptionStage.exceptionMapperprivate final AtomicReference<AsyncResponseProducer> AbstractServerExchangeHandler.responseProducerRefprivate final AtomicReference<AsyncResponseProducer> BasicAsyncServerExpectationDecorator.responseProducerRefprivate final Resolver<O, AsyncResponseProducer> AsyncServerPipeline.CompletionStage.responseProducerResolverprivate final Resolver<O, AsyncResponseProducer> AsyncServerPipeline.ExceptionStage.responseProducerResolverprivate final Resolver<O, AsyncResponseProducer> AsyncServerPipeline.RequestHandlingStage.responseProducerResolverMethods 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) Constructor parameters in org.apache.hc.core5.http.nio.support with type arguments of type AsyncResponseProducerModifierConstructorDescriptionprivateCompletionStage(Validator<HttpRequest> requestValidator, HandlerResolver<HttpRequest, AsyncRequestConsumer<I>> requestConsumerResolver, Resolver<O, AsyncResponseProducer> responseProducerResolver, ExchangeHandler<I, O> exchangeHandler, Resolver<Exception, AsyncResponseProducer> exceptionMapper) privateExceptionStage(Validator<HttpRequest> requestValidator, HandlerResolver<HttpRequest, AsyncRequestConsumer<I>> requestConsumerResolver, Resolver<O, AsyncResponseProducer> responseProducerResolver, Resolver<Exception, AsyncResponseProducer> exceptionMapper) privateRequestHandlingStage(Validator<HttpRequest> requestValidator, HandlerResolver<HttpRequest, AsyncRequestConsumer<I>> requestConsumerResolver, Resolver<O, AsyncResponseProducer> responseProducerResolver) -
Uses of AsyncResponseProducer in org.apache.hc.core5.http.nio.support.classic
Fields in org.apache.hc.core5.http.nio.support.classic with type parameters of type AsyncResponseProducerModifier and TypeFieldDescriptionprivate final AtomicReference<AsyncResponseProducer> ClassicToAsyncServerExchangeHandler.responseProducerRefMethods in org.apache.hc.core5.http.nio.support.classic that return AsyncResponseProducerModifier and TypeMethodDescriptionprotected AsyncResponseProducerClassicToAsyncServerExchangeHandler.handleError(Exception ex)