Package | Description |
---|---|
org.apache.http.nio.protocol |
Asynchronous HTTP protocol handlers based on the non-blocking I/O model.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpAsyncRequestExecutionHandler<T>
HttpAsyncRequestExecutionHandler represents a callback interface
that combines functionality of
HttpAsyncRequestProducer and
HttpAsyncResponseConsumer and is capable of handling logically
related series of HTTP request / response exchanges. |
Modifier and Type | Class and Description |
---|---|
class |
BasicAsyncRequestExecutionHandler<T>
Basic implementation of
HttpAsyncRequestExecutionHandler that executes
a single HTTP request / response exchange. |
class |
BasicAsyncRequestProducer
Basic implementation of
HttpAsyncRequestProducer . |
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> Future<T> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
NHttpClientConnection conn)
Initiates asynchronous HTTP request execution.
|
<T> Future<T> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
NHttpClientConnection conn,
HttpContext context)
Initiates asynchronous HTTP request execution.
|
<T> Future<T> |
HttpAsyncRequester.execute(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
NHttpClientConnection conn,
HttpContext context,
FutureCallback<T> callback)
Initiates asynchronous HTTP request execution.
|
Constructor and Description |
---|
BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> callback,
HttpContext localContext,
HttpProcessor httppocessor,
ConnectionReuseStrategy reuseStrategy,
HttpParams params) |
BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
HttpContext localContext,
HttpProcessor httppocessor,
ConnectionReuseStrategy reuseStrategy,
HttpParams params) |
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.