Package | Description |
---|---|
org.apache.http.concurrent |
Core concurrency APIs.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.pool |
Client side connection pools APIs for synchronous, blocking
communication.
|
Constructor and Description |
---|
BasicFuture(FutureCallback<T> callback) |
Modifier and Type | Method and Description |
---|---|
<T> HttpRequestFutureTask<T> |
FutureRequestExecutionService.execute(HttpUriRequest request,
HttpContext context,
ResponseHandler<T> responseHandler,
FutureCallback<T> callback)
Schedule a request for execution.
|
Constructor and Description |
---|
HttpRequestTaskCallable(HttpClient httpClient,
HttpUriRequest request,
HttpContext context,
ResponseHandler<V> responseHandler,
FutureCallback<V> callback,
FutureRequestExecutionMetrics metrics) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<E> |
AbstractConnPool.lease(T route,
java.lang.Object state,
FutureCallback<E> callback)
Attempts to lease a connection for the given route and with the given
state from the pool.
|
java.util.concurrent.Future<E> |
ConnPool.lease(T route,
java.lang.Object state,
FutureCallback<E> callback)
Attempts to lease a connection for the given route and with the given
state from the pool.
|
Constructor and Description |
---|
PoolEntryFuture(java.util.concurrent.locks.Lock lock,
FutureCallback<T> callback) |