T - The deserializable type for the value of this response.public interface ResponseListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(java.lang.Throwable error)
Invoked when the request associated with the
OrchestrateRequest
has failed. |
void |
onSuccess(T object)
Invoked when the request associated with the
OrchestrateRequest
has been completed. |
void onFailure(java.lang.Throwable error)
OrchestrateRequest
has failed.error - The exception thrown.void onSuccess(T object)
OrchestrateRequest
has been completed.object - The object from the response.