public interface AsyncConnectorCallback
Modifier and Type | Method and Description |
---|---|
void |
failure(java.lang.Throwable failure)
Invoked in case the asynchronous request invocation failed.
|
void |
response(ClientResponse response)
Invoked when a response for the asynchronously invoked request is available.
|
void response(ClientResponse response)
response
- asynchronously received client response.void failure(java.lang.Throwable failure)
failure
- cause of the asynchronous request invocation failure.