public interface Callback<T>
Modifier and Type | Method and Description |
---|---|
void |
onCompletion(T result,
java.lang.Exception exception)
The callback method that the user can implement to do asynchronous handling of the response.
|
void onCompletion(T result, java.lang.Exception exception)
result
- The result of the request. This would be non null when the request executed successfullyexception
- The exception that was reported on execution of the request