ServiceCallback<T> Interface
Type Parameters
- T
the type of the response
public interface ServiceCallback<T>
The callback used for client side asynchronous operations.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract void |
failure(Throwable t)
Override this method to handle REST call failures. |
| abstract void |
success(T result)
Override this method to handle successful REST call results. |
Method Details
failure
public abstract void failure(Throwable t)
Override this method to handle REST call failures.
Parameters:
success
public abstract void success(T result)
Override this method to handle successful REST call results.
Parameters: