Package org.glassfish.jersey.client
Interface ResponseCallback
interface ResponseCallback
Client response processing callback.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompleted(ClientResponse response, RequestScope scope) Called when the client invocation was successfully completed with a response.voidfailed(javax.ws.rs.ProcessingException error) Called when the invocation has failed for any reason.
-
Method Details
-
completed
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.
-