T - Type of the callbackpublic interface AsyncCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
handleFailure(Throwable throwable)
If the request failed this method will be called with the related exception
|
void |
handleSuccess(T response)
If the request was successful the demanded object will be accessible through this method
|
void handleSuccess(T response)
response - The requested objectvoid handleFailure(Throwable throwable)
throwable - The related ExceptionCopyright © 2016. All rights reserved.