Uses of Interface
org.apache.http.concurrent.FutureCallback
Packages that use FutureCallback
Package
Description
Core concurrency APIs.
Default implementations of client side connection pools
for asynchronous, even driven communication.
Client side connection pools APIs for asynchronous, event driven
communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
Client side connection pools APIs for synchronous, blocking
communication.
-
Uses of FutureCallback in org.apache.http.concurrent
Fields in org.apache.http.concurrent declared as FutureCallbackConstructors in org.apache.http.concurrent with parameters of type FutureCallback -
Uses of FutureCallback in org.apache.http.impl.nio.pool
Methods in org.apache.http.impl.nio.pool with parameters of type FutureCallbackModifier and TypeMethodDescriptionBasicNIOConnPool.lease
(HttpHost route, Object state, FutureCallback<BasicNIOPoolEntry> callback) -
Uses of FutureCallback in org.apache.http.nio.pool
Methods in org.apache.http.nio.pool with parameters of type FutureCallbackModifier and TypeMethodDescriptionAbstractNIOConnPool.lease
(T route, Object state, long connectTimeout, long leaseTimeout, TimeUnit timeUnit, FutureCallback<E> callback) AbstractNIOConnPool.lease
(T route, Object state, long connectTimeout, TimeUnit timeUnit, FutureCallback<E> callback) AbstractNIOConnPool.lease
(T route, Object state, FutureCallback<E> callback) -
Uses of FutureCallback in org.apache.http.nio.protocol
Classes in org.apache.http.nio.protocol that implement FutureCallbackModifier and TypeClassDescription(package private) class
HttpAsyncRequester.ConnPipelinedRequestCallback<T,
E extends PoolEntry<HttpHost, NHttpClientConnection>> (package private) class
(package private) class
Methods in org.apache.http.nio.protocol with parameters of type FutureCallbackModifier and TypeMethodDescription<T,
E extends PoolEntry<HttpHost, NHttpClientConnection>>
Future<T> HttpAsyncRequester.execute
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, E poolEntry, 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, HttpContext context, FutureCallback<T> callback) Initiates asynchronous HTTP request execution.<T,
E extends PoolEntry<HttpHost, NHttpClientConnection>>
Future<T> 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>>
Future<List<T>> HttpAsyncRequester.executePipelined
(List<HttpAsyncRequestProducer> requestProducers, List<HttpAsyncResponseConsumer<T>> responseConsumers, E poolEntry, ConnPool<HttpHost, E> connPool, HttpContext context, FutureCallback<List<T>> callback) Initiates asynchronous pipelined HTTP request execution.<T,
E extends PoolEntry<HttpHost, NHttpClientConnection>>
Future<List<T>> HttpAsyncRequester.executePipelined
(HttpHost target, List<? extends HttpAsyncRequestProducer> requestProducers, List<? extends HttpAsyncResponseConsumer<T>> responseConsumers, ConnPool<HttpHost, E> connPool, HttpContext context, FutureCallback<List<T>> callback) Initiates asynchronous pipelined HTTP request execution.Constructors in org.apache.http.nio.protocol with parameters of type FutureCallbackModifierConstructorDescriptionBasicAsyncClientExchangeHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httpPocessor, ConnectionReuseStrategy connReuseStrategy) Creates new instance of BasicAsyncRequestExecutionHandler.BasicAsyncRequestExecutionHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, HttpProcessor httpPocessor, ConnectionReuseStrategy reuseStrategy, HttpParams params) Deprecated.PipeliningClientExchangeHandler
(List<? extends HttpAsyncRequestProducer> requestProducers, List<? extends HttpAsyncResponseConsumer<T>> responseConsumers, FutureCallback<List<T>> callback, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httpPocessor, ConnectionReuseStrategy connReuseStrategy) Creates new instance ofPipeliningClientExchangeHandler
. -
Uses of FutureCallback in org.apache.http.pool
Methods in org.apache.http.pool with parameters of type FutureCallbackModifier and TypeMethodDescriptionAbstractConnPool.lease
(T route, Object state, FutureCallback<E> callback) Attempts to lease a connection for the given route and with the given state from the pool.ConnPool.lease
(T route, Object state, FutureCallback<E> callback) Attempts to lease a connection for the given route and with the given state from the pool.