T - the type that represents the answer format the request will expect
to receive.public interface CompletionListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(Requests requests,
T response) |
void onComplete(Requests requests, T response) throws Exception
requests - a Requests keeping data ( Cookies, etc ) from the
current session, and ready to make another requests. It could
be null if the current request have thrown a timeout
related exception.response - the response received by the request, or null if the
current request have thrown a timeout related exception.Exception - the listener may throw any ExceptionsCopyright © 2016. All rights reserved.