Package org.apache.http.nio.protocol
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
-
Interface Summary Interface Description EventListener Deprecated. (4.2) do not useHttpAsyncClientExchangeHandler HttpAsyncClientExchangeHandlerrepresents a callback interface whose methods get invoked when executing one or multiple HTTP message exchanges on the client side.HttpAsyncExchange HttpAsyncExchangerepresents a server-side HTTP message exchange where an HTTP response can be deferred without blocking the I/O event thread and triggered asynchronously at a later point of later time.HttpAsyncExpectationVerifier HttpAsyncExpectationVerifierdefines a strategy to verify whether or not an incoming HTTP request meets the target server's expectations.HttpAsyncRequestConsumer<T> HttpAsyncRequestConsumeris a callback interface whose methods get invoked to process an HTTP request message and to stream message content from a non-blocking HTTP connection on the server side.HttpAsyncRequestExecutionHandler<T> Deprecated. HttpAsyncRequestHandler<T> HttpAsyncRequestHandlerrepresents a routine for asynchronous processing of a specific group of non-blocking HTTP requests.HttpAsyncRequestHandlerMapper HttpAsyncRequestHandlerMappercan be used to resolve an instance ofHttpAsyncRequestHandlermatching a particularHttpRequest.HttpAsyncRequestHandlerResolver Deprecated. HttpAsyncRequestProducer HttpAsyncRequestProduceris a callback interface whose methods get invoked to generate an HTTP request message and to stream message content to a non-blocking HTTP connection.HttpAsyncResponseConsumer<T> HttpAsyncResponseConsumeris a callback interface whose methods get invoked to process an HTTP response message and to stream message content from a non-blocking HTTP connection on the client side.HttpAsyncResponseProducer HttpAsyncResponseProduceris a callback interface whose methods get invoked to generate an HTTP response message and to stream message content to a non-blocking HTTP connection on the server side.HttpRequestExecutionHandler Deprecated. (4.2) useHttpAsyncRequestExecutorandHttpAsyncRequesterNHttpRequestExecutionHandler Deprecated. (4.2) useHttpAsyncRequestExecutorandHttpAsyncRequesterNHttpRequestHandler Deprecated. (4.2) useHttpAsyncRequestHandlerNHttpRequestHandlerResolver Deprecated. (4.2) useHttpAsyncRequestHandlerResolverNHttpResponseTrigger Deprecated. (4.2) useHttpAsyncExchange -
Class Summary Class Description AbstractAsyncRequestConsumer<T> AbstractHttpAsyncRequestConsumerimplementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.AbstractAsyncResponseConsumer<T> AbstractHttpAsyncResponseConsumerimplementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.AsyncNHttpClientHandler Deprecated. (4.2) useHttpAsyncRequestExecutorandHttpAsyncRequesterAsyncNHttpServiceHandler Deprecated. (4.2) useHttpAsyncServiceBasicAsyncClientExchangeHandler<T> Basic implementation ofHttpAsyncClientExchangeHandlerthat executes a single HTTP request / response exchange.BasicAsyncRequestConsumer Basic implementation ofHttpAsyncRequestConsumer.BasicAsyncRequestExecutionHandler<T> Deprecated. (4.3) useBasicAsyncClientExchangeHandler.BasicAsyncRequestHandler Basic implementation ofHttpAsyncRequestHandlerthat delegates the process of request handling to aHttpRequestHandler.BasicAsyncRequestProducer Basic implementation ofHttpAsyncRequestProducer.BasicAsyncResponseConsumer Basic implementation ofHttpAsyncResponseConsumer.BasicAsyncResponseProducer Basic implementation ofHttpAsyncResponseProducer.BufferingHttpClientHandler Deprecated. (4.2) useHttpAsyncRequestExecutorandHttpAsyncRequesterBufferingHttpServiceHandler Deprecated. (4.2) useHttpAsyncServiceErrorResponseProducer This class changed from package private to public in version 4.4.8.HttpAsyncRequester HttpAsyncRequesteris a utility class that can be used in conjunction withHttpAsyncRequestExecutorto initiate execution of asynchronous HTTP requests.HttpAsyncRequestExecutor HttpAsyncRequestExecutoris a fully asynchronous HTTP client side protocol handler based on the NIO (non-blocking) I/O model.HttpAsyncRequestHandlerRegistry Deprecated. (4.3) useUriHttpAsyncRequestHandlerMapperHttpAsyncService HttpAsyncServiceis a fully asynchronous HTTP server side protocol handler based on the non-blocking (NIO) I/O model.NHttpHandlerBase Deprecated. (4.2) do not useNHttpRequestHandlerRegistry Deprecated. (4.2) useUriHttpAsyncRequestHandlerMapperPipeliningClientExchangeHandler<T> Pipelining implementation ofHttpAsyncClientExchangeHandlerthat executes a series of pipelined HTTP requests.SimpleNHttpRequestHandler Deprecated. (4.2) useBasicAsyncRequestHandlerThrottlingHttpClientHandler Deprecated. (4.2) useHttpAsyncRequestExecutorandHttpAsyncRequesterThrottlingHttpServiceHandler Deprecated. (4.2) useHttpAsyncServiceUriHttpAsyncRequestHandlerMapper Maintains a map of HTTP request handlers keyed by a request URI pattern. -
Annotation Types Summary Annotation Type Description Pipelined