Interface ResponseHandler

    • Method Detail

      • handleResponse

        ContentChannel handleResponse​(Response response)
        This method will process the given Response and return a ContentChannel into which the caller can write the Response's content.
        Parameters:
        response - the Response to handle
        Returns:
        the ContentChannel to write the Response content to. Notice that the ContentChannel holds a Container reference, so failure to close this will prevent the Container from ever shutting down.