Class AbstractResponseProcessor

    • Constructor Detail

      • AbstractResponseProcessor

        public AbstractResponseProcessor()
    • Method Detail

      • createWebResponse

        protected WebResponse createWebResponse​(WebResponse originalWebResponse,
                                                byte[] content)
        Creates a new web response from the given original web response and the new content.
        Parameters:
        originalWebResponse - the original web response
        content - the new content
        Returns:
        a new web response
      • createWebResponse

        protected WebResponse createWebResponse​(WebResponse originalWebResponse,
                                                java.lang.String content)
        Creates a new web response from the given original web response and the new content.
        Parameters:
        originalWebResponse - the original web response
        content - the new content
        Returns:
        a new web response