T - The Type of the parsed http resultpublic interface HttpResponseReceiver<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(HttpRequest req,
Exception e)
Called when the http request could not be executed successfully, because
an
Exception has occurred while sending the http request |
void |
onSuccess(HttpResponse<T> res)
Called when the Http request has returned a result
|
void onSuccess(HttpResponse<T> res)
res - void onFailure(HttpRequest req, Exception e)
Exception has occurred while sending the http requestreq - The HttpRequest that have caused the errore - The exception that was thrown while executing the
HttpRequestCopyright © 2015 Hannes Dorfmann. All rights reserved.