Package | Description |
---|---|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpAsyncRequestExecutionHandler<T>
Deprecated.
|
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 |
BasicAsyncRequestExecutionHandler<T>
Deprecated.
(4.3) use
BasicAsyncClientExchangeHandler . |
class |
BasicAsyncResponseConsumer
Basic implementation of
HttpAsyncResponseConsumer . |
Modifier and Type | Field and Description |
---|---|
private HttpAsyncResponseConsumer<T> |
BasicAsyncRequestExecutionHandler.responseConsumer
Deprecated.
|
private HttpAsyncResponseConsumer<T> |
HttpAsyncRequester.ConnRequestCallback.responseConsumer |
private HttpAsyncResponseConsumer<T> |
BasicAsyncClientExchangeHandler.responseConsumer |
Modifier and Type | Field and Description |
---|---|
private java.util.Queue<HttpAsyncResponseConsumer<T>> |
PipeliningClientExchangeHandler.responseConsumerQueue |
private java.util.concurrent.atomic.AtomicReference<HttpAsyncResponseConsumer<T>> |
PipeliningClientExchangeHandler.responseConsumerRef |
private java.util.List<? extends HttpAsyncResponseConsumer<T>> |
HttpAsyncRequester.ConnPipelinedRequestCallback.responseConsumers |
Modifier and Type | Method and Description |
---|---|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
ConnPool<HttpHost,E> connPool)
Initiates asynchronous HTTP request execution.
|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
ConnPool<HttpHost,E> connPool,
HttpContext context)
Initiates asynchronous HTTP request execution.
|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
ConnPool<HttpHost,E> connPool,
HttpContext context,
FutureCallback<T> callback)
Initiates asynchronous HTTP request execution.
|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
E poolEntry,
ConnPool<HttpHost,E> connPool,
HttpContext context,
FutureCallback<T> callback)
Initiates asynchronous HTTP request execution.
|
<T> java.util.concurrent.Future<T> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
NHttpClientConnection conn)
Initiates asynchronous HTTP request execution.
|
<T> java.util.concurrent.Future<T> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
NHttpClientConnection conn,
HttpContext context)
Initiates asynchronous HTTP request execution.
|
<T> java.util.concurrent.Future<T> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
NHttpClientConnection conn,
HttpContext context,
FutureCallback<T> callback)
Initiates asynchronous HTTP request execution.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.executePipelined(HttpHost target,
java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
ConnPool<HttpHost,E> connPool,
HttpContext context,
FutureCallback<java.util.List<T>> callback)
Initiates asynchronous pipelined HTTP request execution.
|
<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.executePipelined(java.util.List<HttpAsyncRequestProducer> requestProducers,
java.util.List<HttpAsyncResponseConsumer<T>> responseConsumers,
E poolEntry,
ConnPool<HttpHost,E> connPool,
HttpContext context,
FutureCallback<java.util.List<T>> callback)
Initiates asynchronous pipelined HTTP request execution.
|
Constructor and Description |
---|
ConnPipelinedRequestCallback(BasicFuture<java.util.List<T>> requestFuture,
java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
ConnPool<HttpHost,E> connPool,
HttpContext context) |
PipeliningClientExchangeHandler(java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
FutureCallback<java.util.List<T>> callback,
HttpContext localContext,
NHttpClientConnection conn,
HttpProcessor httppocessor,
ConnectionReuseStrategy connReuseStrategy)
Creates new instance of
PipeliningClientExchangeHandler . |
PipeliningClientExchangeHandler(java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
HttpContext localContext,
NHttpClientConnection conn,
HttpProcessor httppocessor)
Creates new instance of
PipeliningClientExchangeHandler . |