| 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 | Description |
|---|---|---|
interface |
HttpAsyncRequestExecutionHandler<T> |
Deprecated.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
BasicAsyncRequestExecutionHandler<T> |
Deprecated.
(4.3) use
BasicAsyncClientExchangeHandler. |
class |
BasicAsyncRequestProducer |
Basic implementation of
HttpAsyncRequestProducer. |
| Modifier and Type | Method | Description |
|---|---|---|
<T,E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
E poolEntry,
org.apache.http.pool.ConnPool<org.apache.http.HttpHost,E> connPool,
org.apache.http.protocol.HttpContext context,
org.apache.http.concurrent.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,
org.apache.http.protocol.HttpContext context) |
Initiates asynchronous HTTP request execution.
|
<T> java.util.concurrent.Future<T> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
NHttpClientConnection conn,
org.apache.http.protocol.HttpContext context,
org.apache.http.concurrent.FutureCallback<T> callback) |
Initiates asynchronous HTTP request execution.
|
<T,E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
org.apache.http.pool.ConnPool<org.apache.http.HttpHost,E> connPool) |
Initiates asynchronous HTTP request execution.
|
<T,E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
org.apache.http.pool.ConnPool<org.apache.http.HttpHost,E> connPool,
org.apache.http.protocol.HttpContext context) |
Initiates asynchronous HTTP request execution.
|
<T,E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
org.apache.http.pool.ConnPool<org.apache.http.HttpHost,E> connPool,
org.apache.http.protocol.HttpContext context,
org.apache.http.concurrent.FutureCallback<T> callback) |
Initiates asynchronous HTTP request execution.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T,E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.executePipelined(java.util.List<HttpAsyncRequestProducer> requestProducers,
java.util.List<HttpAsyncResponseConsumer<T>> responseConsumers,
E poolEntry,
org.apache.http.pool.ConnPool<org.apache.http.HttpHost,E> connPool,
org.apache.http.protocol.HttpContext context,
org.apache.http.concurrent.FutureCallback<java.util.List<T>> callback) |
Initiates asynchronous pipelined HTTP request execution.
|
<T,E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost,NHttpClientConnection>> |
HttpAsyncRequester.executePipelined(org.apache.http.HttpHost target,
java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
org.apache.http.pool.ConnPool<org.apache.http.HttpHost,E> connPool,
org.apache.http.protocol.HttpContext context,
org.apache.http.concurrent.FutureCallback<java.util.List<T>> callback) |
Initiates asynchronous pipelined HTTP request execution.
|
| Constructor | Description |
|---|---|
BasicAsyncClientExchangeHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
org.apache.http.concurrent.FutureCallback<T> callback,
org.apache.http.protocol.HttpContext localContext,
NHttpClientConnection conn,
org.apache.http.protocol.HttpProcessor httppocessor,
org.apache.http.ConnectionReuseStrategy connReuseStrategy) |
Creates new instance of BasicAsyncRequestExecutionHandler.
|
BasicAsyncClientExchangeHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
org.apache.http.protocol.HttpContext localContext,
NHttpClientConnection conn,
org.apache.http.protocol.HttpProcessor httppocessor) |
Creates new instance of BasicAsyncRequestExecutionHandler.
|
BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
org.apache.http.concurrent.FutureCallback<T> callback,
org.apache.http.protocol.HttpContext localContext,
org.apache.http.protocol.HttpProcessor httppocessor,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
org.apache.http.params.HttpParams params) |
Deprecated.
|
BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
org.apache.http.protocol.HttpContext localContext,
org.apache.http.protocol.HttpProcessor httppocessor,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
org.apache.http.params.HttpParams params) |
Deprecated.
|
| Constructor | Description |
|---|---|
PipeliningClientExchangeHandler(java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
org.apache.http.concurrent.FutureCallback<java.util.List<T>> callback,
org.apache.http.protocol.HttpContext localContext,
NHttpClientConnection conn,
org.apache.http.protocol.HttpProcessor httppocessor,
org.apache.http.ConnectionReuseStrategy connReuseStrategy) |
Creates new instance of
PipeliningClientExchangeHandler. |
PipeliningClientExchangeHandler(java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
org.apache.http.protocol.HttpContext localContext,
NHttpClientConnection conn,
org.apache.http.protocol.HttpProcessor httppocessor) |
Creates new instance of
PipeliningClientExchangeHandler. |