public class ClosableCallback
extends java.lang.Object
implements org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>
| Constructor and Description |
|---|
ClosableCallback(org.apache.http.impl.nio.client.CloseableHttpAsyncClient closeableHttpAsyncClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled() |
void |
completed(org.apache.http.HttpResponse httpResponse) |
void |
failed(java.lang.Exception e) |
public ClosableCallback(org.apache.http.impl.nio.client.CloseableHttpAsyncClient closeableHttpAsyncClient)
public void completed(org.apache.http.HttpResponse httpResponse)
completed in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>public void failed(java.lang.Exception e)
failed in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>public void cancelled()
cancelled in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>