Interface ResponseHandler<T>

    • Method Detail

      • handleResponse

        T handleResponse​(HttpResponse response)
                  throws ClientProtocolException,
                         java.io.IOException
        Processes an HttpResponse and returns some value corresponding to that response.
        Parameters:
        response - The response to process
        Returns:
        A value determined by the response
        Throws:
        ClientProtocolException - in case of an http protocol error
        java.io.IOException - in case of a problem or the connection was aborted