public class SimpleHttpResponseHandler<T> extends Object implements com.google.common.util.concurrent.FutureCallback<io.airlift.http.client.FullJsonResponseHandler.JsonResponse<T>>
| Constructor and Description |
|---|
SimpleHttpResponseHandler(SimpleHttpResponseCallback<T> callback,
URI uri,
RemoteTaskStats stats) |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Throwable t) |
void |
onSuccess(io.airlift.http.client.FullJsonResponseHandler.JsonResponse<T> response) |
public SimpleHttpResponseHandler(SimpleHttpResponseCallback<T> callback, URI uri, RemoteTaskStats stats)
Copyright © 2012–2019. All rights reserved.