Package | Description |
---|---|
org.apache.http.concurrent |
Core concurrency APIs.
|
org.apache.http.nio.pool |
Client side connection pools APIs for asynchronous, event driven
communication.
|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicFuture<T>
Basic implementation of the
Future interface. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
LeaseRequest<T,C,E extends PoolEntry<T,C>> |
Modifier and Type | Interface and Description |
---|---|
interface |
HttpAsyncClientExchangeHandler
HttpAsyncClientExchangeHandler represents a callback interface whose
methods get invoked when executing one or multiple HTTP message exchanges
on the client side. |
interface |
HttpAsyncRequestExecutionHandler<T>
Deprecated.
|
interface |
HttpAsyncResponseConsumer<T>
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. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAsyncResponseConsumer<T>
Abstract
HttpAsyncResponseConsumer implementation that relieves its
subclasses from having to manage internal state and provides a number of protected
event methods that they need to implement. |
class |
BasicAsyncClientExchangeHandler<T>
Basic implementation of
HttpAsyncClientExchangeHandler that executes
a single HTTP request / response exchange. |
class |
BasicAsyncRequestExecutionHandler<T>
Deprecated.
(4.3) use
BasicAsyncClientExchangeHandler . |
class |
BasicAsyncResponseConsumer
Basic implementation of
HttpAsyncResponseConsumer . |
class |
PipeliningClientExchangeHandler<T>
Pipelining implementation of
HttpAsyncClientExchangeHandler
that executes a series of pipelined HTTP requests. |
Modifier and Type | Field and Description |
---|---|
private Cancellable |
HttpAsyncService.State.cancellable |
Modifier and Type | Method and Description |
---|---|
Cancellable |
HttpAsyncService.State.getCancellable() |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpAsyncService.handleAlreadySubmittedResponse(Cancellable cancellable,
HttpContext context)
This method can be used to handle callback set up happened after
response submission.
|
void |
HttpAsyncService.HttpAsyncExchangeImpl.setCallback(Cancellable cancellable) |
void |
HttpAsyncExchange.setCallback(Cancellable cancellable)
Sets
Cancellable callback to be invoked in case the underlying
connection times out or gets terminated prematurely by the client. |
void |
HttpAsyncService.State.setCancellable(Cancellable cancellable) |