Class ContinueProtocolHandler.ContinueListener

    • Constructor Detail

      • ContinueListener

        protected ContinueListener()
    • Method Detail

      • onSuccess

        public void onSuccess​(Response response)
        Description copied from interface: Response.SuccessListener
        Callback method invoked when the whole response has been successfully received.
        Parameters:
        response - the response containing the response line data and the headers
      • onFailure

        public void onFailure​(Response response,
                              java.lang.Throwable failure)
        Description copied from interface: Response.FailureListener
        Callback method invoked when the response has failed in the process of being received
        Parameters:
        response - the response containing data up to the point the failure happened
        failure - the failure happened