Package org.glassfish.jersey.client
Interface ResponseCallback
-
interface ResponseCallback
Client response processing callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
completed
void completed(ClientResponse response, RequestScope scope)
Called when the client invocation was successfully completed with a response.- Parameters:
response
- response data.scope
- request processing scope.
-
failed
void failed(javax.ws.rs.ProcessingException error)
Called when the invocation has failed for any reason.- Parameters:
error
- contains failure details.
-
-