Interface RestRequestHandler

    • Method Detail

      • doRequest

        RestResponse doRequest​(org.refcodes.web.HttpClientRequest aHttpClientRequest)
                        throws org.refcodes.web.HttpResponseException
        Hook receiving a prepared RestResponseHandler instance to be used to do the technical request with the technology chosen by the implementing sub-class.
        Parameters:
        aHttpClientRequest - The prepared HttpClientRequest.
        Returns:
        The resulting RestResponse.
        Throws:
        org.refcodes.web.HttpResponseException - thrown by a HTTP response handling system in case of some unexpected response.