|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpRequestCallback<T>
Callback used when executing HTTP-request. After this has been called, the response-stream is closed automatically.
| Method Summary | |
|---|---|
T |
onCallException(org.apache.http.HttpResponse response,
Throwable t)
Called when an error occurs when sending the request. |
T |
onCallSuccess(org.apache.http.HttpResponse response)
Called when call was successful. |
| Method Detail |
|---|
T onCallSuccess(org.apache.http.HttpResponse response)
method - the method executed which can be used to extract response from.
T onCallException(org.apache.http.HttpResponse response,
Throwable t)
method - the method executedt - optional exception that caused the error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||