public interface LiAsyncRequestCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onError(java.lang.Exception exception)
This call back is used when Async request is not successful.
|
void |
onSuccess(LiBaseRestRequest request,
T response)
This call back is used when Async request is successful.
|
void onSuccess(LiBaseRestRequest request, T response) throws LiRestResponseException
request - LiBaseRestRequestresponse - Generic success response.LiRestResponseException - LiRestResponseExceptionvoid onError(java.lang.Exception exception)
exception - Exception