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.