Uses of Interface
org.apache.http.nio.protocol.HttpAsyncRequestProducer
Packages that use HttpAsyncRequestProducer
Package
Description
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
-
Uses of HttpAsyncRequestProducer in org.apache.http.nio.protocol
Subinterfaces of HttpAsyncRequestProducer in org.apache.http.nio.protocolClasses in org.apache.http.nio.protocol that implement HttpAsyncRequestProducerModifier and TypeClassDescriptionclass
Deprecated.(4.3) useBasicAsyncClientExchangeHandler
.class
Basic implementation ofHttpAsyncRequestProducer
.Methods in org.apache.http.nio.protocol with parameters of type HttpAsyncRequestProducerModifier 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.Method parameters in org.apache.http.nio.protocol with type arguments of type HttpAsyncRequestProducerModifier and TypeMethodDescription<T,
E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost, NHttpClientConnection>>
Future<List<T>> HttpAsyncRequester.executePipelined
(List<HttpAsyncRequestProducer> requestProducers, 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<List<T>> callback) Initiates asynchronous pipelined HTTP request execution.<T,
E extends org.apache.http.pool.PoolEntry<org.apache.http.HttpHost, NHttpClientConnection>>
Future<List<T>> HttpAsyncRequester.executePipelined
(org.apache.http.HttpHost target, List<? extends HttpAsyncRequestProducer> requestProducers, 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<List<T>> callback) Initiates asynchronous pipelined HTTP request execution.Constructors in org.apache.http.nio.protocol with parameters of type HttpAsyncRequestProducerModifierConstructorDescriptionBasicAsyncClientExchangeHandler
(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 parameters in org.apache.http.nio.protocol with type arguments of type HttpAsyncRequestProducerModifierConstructorDescriptionPipeliningClientExchangeHandler
(List<? extends HttpAsyncRequestProducer> requestProducers, List<? extends HttpAsyncResponseConsumer<T>> responseConsumers, org.apache.http.concurrent.FutureCallback<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 ofPipeliningClientExchangeHandler
.PipeliningClientExchangeHandler
(List<? extends HttpAsyncRequestProducer> requestProducers, List<? extends HttpAsyncResponseConsumer<T>> responseConsumers, org.apache.http.protocol.HttpContext localContext, NHttpClientConnection conn, org.apache.http.protocol.HttpProcessor httpPocessor) Creates new instance ofPipeliningClientExchangeHandler
.
HttpAsyncClientExchangeHandler