public interface ResultHandler<RESULT>
Modifier and Type | Method and Description |
---|---|
void |
onError(Exception exception)
Invoked after an asynchronous request
|
void |
onSuccess(RESULT result)
Invoked after an asynchronous request has completed successfully.
|
void onError(Exception exception)
exception
- void onSuccess(RESULT result)
result
- The successful result of the executed operation.