Interface ResponseCallback


interface ResponseCallback
Client response processing callback.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 Details

    • 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.