Package org.glassfish.jersey.client
Interface ResponseCallback
-
interface ResponseCallbackClient response processing callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompleted(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 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.
-
-