public class HttpResponseCallback<T> extends Object implements org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>
| Constructor and Description |
|---|
HttpResponseCallback(String serverURI,
MWRequestImpl<T> request,
ApacheHttpClient httpClient,
org.apache.http.client.protocol.HttpClientContext httpContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled() |
void |
completed(org.apache.http.HttpResponse response) |
void |
failed(Exception ex) |
public HttpResponseCallback(String serverURI, MWRequestImpl<T> request, ApacheHttpClient httpClient, org.apache.http.client.protocol.HttpClientContext httpContext)
public void cancelled()
cancelled in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>public void completed(org.apache.http.HttpResponse response)
completed in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>public void failed(Exception ex)
failed in interface org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse>Copyright © 2015–2024. All rights reserved.