interface ResponseCallback
Modifier and Type | Method and Description |
---|---|
void |
completed(ClientResponse response,
RequestScope scope)
Called when the client invocation was successfully completed with a response.
|
void |
failed(javax.ws.rs.ProcessingException error)
Called when the invocation has failed for any reason.
|
void completed(ClientResponse response, RequestScope scope)
response
- response data.scope
- request processing scope.void failed(javax.ws.rs.ProcessingException error)
error
- contains failure details.