Class CaptureResponseWrapper

    • Constructor Detail

      • CaptureResponseWrapper

        public CaptureResponseWrapper​(HttpServletResponse response)
        Construct a new CaptureResponseWrapper.
        Parameters:
        response - the response to wrap
    • Method Detail

      • isBinaryResponse

        public boolean isBinaryResponse()
        Returns true if the response is binary.
        Returns:
        true if the response is binary, false otherwise
      • getCapturedCharacterResponse

        public java.lang.String getCapturedCharacterResponse()
                                                      throws java.io.IOException
        Returns:
        the captured character response data
        Throws:
        java.io.IOException - if no character response data captured