Uses of Interface
org.apache.http.nio.protocol.HttpAsyncResponseConsumer
Packages that use HttpAsyncResponseConsumer
Package
Description
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
-
Uses of HttpAsyncResponseConsumer in org.apache.http.nio.protocol
Subinterfaces of HttpAsyncResponseConsumer in org.apache.http.nio.protocolClasses in org.apache.http.nio.protocol that implement HttpAsyncResponseConsumerModifier and TypeClassDescriptionclass
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.class
Deprecated.(4.3) useBasicAsyncClientExchangeHandler
.class
Basic implementation ofHttpAsyncResponseConsumer
.Methods in org.apache.http.nio.protocol with parameters of type HttpAsyncResponseConsumerModifier and TypeMethodDescription<T,
E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost, NHttpClientConnection>>
Future<T> 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> 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, org.apache.http.protocol.HttpContext context) Initiates asynchronous HTTP request execution.<T> 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>>
Future<T> 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>>
Future<T> 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>>
Future<T> 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.Constructors in org.apache.http.nio.protocol with parameters of type HttpAsyncResponseConsumerModifierConstructorDescriptionBasicAsyncClientExchangeHandler
(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.
HttpAsyncClientExchangeHandler