T - Type of the callbackCallback@Deprecated
public interface AsyncCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
handleFailure(java.lang.Throwable throwable)
Deprecated.
If the request failed this method will be called with the related exception
|
void |
handleSuccess(T response)
Deprecated.
If the request was successful the demanded object will be accessible through this method
|
void handleSuccess(T response)
response - The requested objectvoid handleFailure(java.lang.Throwable throwable)
throwable - The related Exception