Package org.apache.http.nio.protocol
package org.apache.http.nio.protocol
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
-
ClassDescriptionAbstract
HttpAsyncRequestConsumer
implementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.AbstractHttpAsyncResponseConsumer
implementation that relieves its subclasses from having to manage internal state and provides a number of protected event methods that they need to implement.Deprecated.(4.2) useHttpAsyncRequestExecutor
andHttpAsyncRequester
Deprecated.(4.2) useHttpAsyncService
Basic implementation ofHttpAsyncClientExchangeHandler
that executes a single HTTP request / response exchange.Basic implementation ofHttpAsyncRequestConsumer
.Deprecated.(4.3) useBasicAsyncClientExchangeHandler
.Basic implementation ofHttpAsyncRequestHandler
that delegates the process of request handling to aHttpRequestHandler
.Basic implementation ofHttpAsyncRequestProducer
.Basic implementation ofHttpAsyncResponseConsumer
.Basic implementation ofHttpAsyncResponseProducer
.Deprecated.(4.2) useHttpAsyncRequestExecutor
andHttpAsyncRequester
Deprecated.(4.2) useHttpAsyncService
This class changed from package private to public in version 4.4.8.Deprecated.(4.2) do not useHttpAsyncClientExchangeHandler
represents a callback interface whose methods get invoked when executing one or multiple HTTP message exchanges on the client side.HttpAsyncExchange
represents 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
defines a strategy to verify whether or not an incoming HTTP request meets the target server's expectations.HttpAsyncRequestConsumer
is 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.HttpAsyncRequester
is a utility class that can be used in conjunction withHttpAsyncRequestExecutor
to initiate execution of asynchronous HTTP requests.Deprecated.HttpAsyncRequestExecutor
is a fully asynchronous HTTP client side protocol handler based on the NIO (non-blocking) I/O model.HttpAsyncRequestHandler
represents a routine for asynchronous processing of a specific group of non-blocking HTTP requests.HttpAsyncRequestHandlerMapper
can be used to resolve an instance ofHttpAsyncRequestHandler
matching a particularHttpRequest
.Deprecated.(4.3) useUriHttpAsyncRequestHandlerMapper
Deprecated.HttpAsyncRequestProducer
is 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
is 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
is 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.HttpAsyncService
is a fully asynchronous HTTP server side protocol handler based on the non-blocking (NIO) I/O model.Deprecated.Do not use.Deprecated.(4.2) useHttpAsyncRequestExecutor
andHttpAsyncRequester
Deprecated.(4.2) do not useDeprecated.(4.2) useHttpAsyncRequestExecutor
andHttpAsyncRequester
Deprecated.(4.2) useHttpAsyncRequestHandler
Deprecated.(4.2) useUriHttpAsyncRequestHandlerMapper
Deprecated.(4.2) useHttpAsyncRequestHandlerResolver
Deprecated.(4.2) useHttpAsyncExchange
Deprecated.(4.2)Pipelining implementation ofHttpAsyncClientExchangeHandler
that executes a series of pipelined HTTP requests.Deprecated.(4.2) useBasicAsyncRequestHandler
Deprecated.(4.2) useHttpAsyncRequestExecutor
andHttpAsyncRequester
Deprecated.(4.2) useHttpAsyncService
Maintains a map of HTTP request handlers keyed by a request URI pattern.