| Modifier and Type | Field and Description |
|---|---|
| private final AsyncHandler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | onError(REQUEST
The request that was made. request, Throwable The error that was received. error)Implements com. Called if the request could not be completed successfully. |
| public void | onSuccess(REQUEST
The request that was made. request, RESPONSE The response that was received. response)Implements com. Called if the request was successfully completed. |
| delegate | back to summary |
|---|---|
| private final AsyncHandler<REQUEST, RESPONSE> delegate | |
| ForwardingAsyncHandler | back to summary |
|---|---|
public ForwardingAsyncHandler(final AsyncHandler<REQUEST, RESPONSE> delegate)
| |
| onError | back to summary |
|---|---|
| public void onError(REQUEST request, Throwable error) Implements com. Doc from com. Called if the request could not be completed successfully. | |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(REQUEST request, RESPONSE response) Implements com. Doc from com. Called if the request was successfully completed.
| |