Package org.apache.hc.core5.http.nio.support
Support classes for the asynchronous I/O model.
-
Class Summary Class Description AbstractAsyncPushHandler<T> Abstract push response handler.AbstractAsyncRequesterConsumer<T,E> Abstract asynchronous request consumer that makes use ofAsyncEntityConsumerto process request message content.AbstractAsyncResponseConsumer<T,E> Abstract asynchronous response consumer that makes use ofAsyncEntityConsumerto process response message content.AbstractAsyncServerAuthFilter<T> Abstract asynchronous HTTP request filter that implements standard HTTP authentication handshake.AbstractClientExchangeHandler<T> BasicAsyncClientExchangeHandlerimplementation that makes use ofAsyncRequestProducerto generate request message andAsyncResponseConsumerto process the response message returned by the server.AbstractServerExchangeHandler<T> Abstract server side message exchange handler.AsyncClientPipeline Client side execution pipeline assembler that createsAsyncClientExchangeHandlerinstances with the defined message exchange pipeline that triggers the givenFutureCallbackorCompletableFutureupon completion.AsyncClientPipeline.CompletionStage<T> Exchange completion stage.AsyncClientPipeline.RequestContentStage Request content stage.AsyncClientPipeline.RequestStage Request message stage.AsyncClientPipeline.ResponseContentStage Response content generation stage.AsyncClientPipeline.ResponseStage Response message stage.AsyncClientPipeline.ResultStage<T> Exchange result signal stage.AsyncPushBuilder Builder forAsyncPushProducerinstances.AsyncRequestBuilder Builder forAsyncRequestProducerinstances.AsyncResponseBuilder Builder forAsyncResponseProducerinstances.AsyncServerExpectationFilter AsyncServerFilterChainElement An element in an asynchronous request processing chain.AsyncServerFilterChainExchangeHandlerFactory Factory forAsyncServerExchangeHandlerinstances that delegate request processing to aAsyncServerFilterChainElement.AsyncServerPipeline Server side execution pipeline assembler that suppliesAsyncServerExchangeHandlerinstances with the defined message exchange pipeline.AsyncServerPipeline.CompletionStage<I,O> Exchange completion stage.AsyncServerPipeline.ExceptionStage<I,O> Exception handling stage.AsyncServerPipeline.RequestContentStage Request content processing stage.AsyncServerPipeline.RequestHandlingStage<I,O> Request handling stage.AsyncServerPipeline.ResponseContentStage<I> Response content generation stage.AsyncServerPipeline.ResponseStage<I> Response message stage.BasicAsyncServerExpectationDecorator AsyncServerExchangeHandlerimplementation that adds support for the Expect-Continue handshake to an existingAsyncServerExchangeHandler.BasicClientExchangeHandler<T> BasicAsyncClientExchangeHandlerimplementation that makes use ofAsyncRequestProducerto generate request message andAsyncResponseConsumerto process the response message returned by the server.BasicPushProducer Basic implementation ofAsyncPushProducerthat produces one fixed response and relies on aAsyncEntityProducerto generate response entity stream.BasicRequestConsumer<T> Basic implementation ofAsyncRequestConsumerthat represents the request message as aMessageand relies on aAsyncEntityConsumerto process request entity stream.BasicRequestProducer Basic implementation ofAsyncRequestProducerthat produces one fixed request and relies on aAsyncEntityProducerto generate request entity stream.BasicResponseConsumer<T> Basic implementation ofAsyncResponseConsumerthat represents response message as aMessageand relies on aAsyncEntityConsumerto process response entity stream.BasicResponseProducer Basic implementation ofAsyncResponseProducerthat produces one fixed response and relies on aAsyncEntityProducerto generate response entity stream.BasicServerExchangeHandler<T> BasicAbstractServerExchangeHandlerimplementation that delegates request processing and response generation to aAsyncServerRequestHandler.DefaultAsyncResponseExchangeHandlerFactory Factory forAsyncServerExchangeHandlerinstances that make use ofHttpRequestMapperto dispatch the request to a particularAsyncServerExchangeHandlerfor processing.ImmediateResponseExchangeHandler AsyncServerExchangeHandlerimplementation that immediately responds with a predefined response generated by aAsyncResponseProducerand ignores any entity content enclosed in the request message.TerminalAsyncServerFilter AsyncFilterHandlerimplementation represents a terminal handler in an asynchronous request processing pipeline that makes use ofHandlerFactoryto dispatch the request to a particularAsyncServerExchangeHandler.