Class ResponseProxy


  • public class ResponseProxy
    extends Object
    Proxy class for HttpServletResponse to give ResponseWriters access to selected methods, including addHeader and setContentLength.
    Since:
    1.0.0
    • Constructor Detail

      • ResponseProxy

        public ResponseProxy​(javax.servlet.http.HttpServletResponse response)
                      throws IOException
        Throws:
        IOException
    • Method Detail

      • addHeader

        public void addHeader​(String headerIdentifier,
                              String headerValue)
      • setContentLength

        public void setContentLength​(int contentLength)