public abstract class AbstractHttpRequestCallback<T> extends Object implements HttpRequestCallback<T>
HttpResponse on success
and throws runtime exceptions on errors.| Constructor and Description |
|---|
AbstractHttpRequestCallback() |
| Modifier and Type | Method and Description |
|---|---|
T |
onCallException(org.apache.http.HttpResponse response,
Throwable t)
Called when an error occurs when sending the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCallSuccesspublic T onCallException(org.apache.http.HttpResponse response, Throwable t)
HttpRequestCallbackonCallException in interface HttpRequestCallback<T>t - optional exception that caused the errorRuntimeException - error is wrapped and thrownCopyright © 2013. All Rights Reserved.