| Modifier and Type | Field and Description |
|---|---|
| private static final NoOpAsyncHandler |
| Access | Constructor and Description |
|---|---|
| private |
| 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. |
| public static final < type of the request REQUEST, type of the response RESPONSE> NoOpAsyncHandler | Returns: no op async handler singleton instanceReturn the singleton with the correct generic types. |
| SINGLETON | back to summary |
|---|---|
| private static final NoOpAsyncHandler<?, ?> SINGLETON | |
| NoOpAsyncHandler | back to summary |
|---|---|
| private NoOpAsyncHandler() Private singleton constructor | |
| 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.
| |
| singleton | back to summary |
|---|---|
| public static final <REQUEST, RESPONSE> NoOpAsyncHandler Return the singleton with the correct generic types.
| |