| Package | Description |
|---|---|
| com.ning.http.client | |
| com.ning.http.client.extra | |
| com.ning.http.client.listenable | |
| com.ning.http.client.providers.grizzly |
| Modifier and Type | Class and Description |
|---|---|
static class |
ListenableFuture.CompletedFailure<T> |
| Modifier and Type | Method and Description |
|---|---|
ListenableFuture<V> |
ListenableFuture.addListener(Runnable listener,
Executor exec)
Adds a listener and executor to the ListenableFuture.
|
ListenableFuture<T> |
ListenableFuture.CompletedFailure.addListener(Runnable listener,
Executor exec) |
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 | Method and Description |
|---|---|
<T> ListenableFuture<T> |
GrizzlyAsyncHttpProvider.execute(Request request,
AsyncHandler<T> asyncHandler) |
Copyright © 2020. All Rights Reserved.