Interface ResponseCallback


  • interface ResponseCallback
    Client response processing callback.
    • 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.