public interface AsyncConnectorCallback
Modifier and Type | Method and Description |
---|---|
void |
failure(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(Throwable failure)
failure
- cause of the asynchronous request invocation failure.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.