Modifier and Type | Method and Description |
---|---|
ListenableFuture<V> |
ListenableFuture.addListener(Runnable listener,
Executor exec)
Adds a listener and executor to the ListenableFuture.
|
ListenableFuture<Response> |
AsyncHttpClient.BoundRequestBuilder.execute() |
<T> ListenableFuture<T> |
AsyncHttpClient.BoundRequestBuilder.execute(AsyncHandler<T> handler) |
<T> ListenableFuture<T> |
AsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler)
Execute the request and invoke the
AsyncHandler when the response arrive. |
ListenableFuture<Response> |
AsyncHttpClient.executeRequest(Request request)
Execute an HTTP request.
|
<T> ListenableFuture<T> |
AsyncHttpClient.executeRequest(Request request,
AsyncHandler<T> handler)
Execute an HTTP request.
|
Modifier and Type | Method and Description |
---|---|
static <V> com.google.common.util.concurrent.ListenableFuture<V> |
ListenableFutureAdapter.asGuavaFuture(ListenableFuture<V> future) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractListenableFuture<V>
An abstract base implementation of the listener support provided by
ListenableFuture . |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<V> |
AbstractListenableFuture.addListener(Runnable listener,
Executor exec) |
Modifier and Type | Class and Description |
---|---|
class |
ApacheResponseFuture<V> |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
ApacheAsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler) |
Modifier and Type | Class and Description |
---|---|
class |
GrizzlyResponseFuture<V>
AbstractListenableFuture implementation adaptation of Grizzly's
FutureImpl . |
Modifier and Type | Method and Description |
---|---|
protected <T> ListenableFuture<T> |
GrizzlyAsyncHttpProvider.execute(org.glassfish.grizzly.Connection c,
Request request,
AsyncHandler<T> handler,
GrizzlyResponseFuture<T> future,
boolean forceTxContextExist) |
<T> ListenableFuture<T> |
GrizzlyAsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler)
Execute the request and invoke the
AsyncHandler when the response arrive. |
Modifier and Type | Class and Description |
---|---|
class |
JDKDelegateFuture<V> |
class |
JDKFuture<V> |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
JDKAsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler) |
<T> ListenableFuture<T> |
JDKAsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler,
ListenableFuture<?> future) |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
JDKAsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler,
ListenableFuture<?> future) |
Constructor and Description |
---|
JDKDelegateFuture(AsyncHandler<V> asyncHandler,
int responseTimeoutInMs,
ListenableFuture<V> delegateFuture,
HttpURLConnection urlConnection) |
Modifier and Type | Class and Description |
---|---|
class |
NettyResponseFuture<V>
A
Future that can be used to track when an asynchronous HTTP request has been fully processed. |
Modifier and Type | Method and Description |
---|---|
<T> ListenableFuture<T> |
NettyAsyncHttpProvider.execute(Request request,
AsyncHandler<T> asyncHandler) |
Copyright © 2014. All Rights Reserved.