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
- LiBaseRestRequest
response
- Generic success response.LiRestResponseException
- LiRestResponseException
void onError(java.lang.Exception exception)
exception
- Exception