Class HttpServletResponseWrapper


  • public class HttpServletResponseWrapper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected HttpServletResponseWrapper​(javax.servlet.http.HttpServletResponse response)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.io.PrintWriter getWriter()  
      protected void sendError​(int errorStatusCode)  
      protected void setCharacterEncoding​(java.lang.String characterEncoding)  
      protected void setContentType​(java.lang.String contentType)  
      protected void setHeader​(java.lang.String headerName, java.lang.String headerValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpServletResponseWrapper

        protected HttpServletResponseWrapper​(javax.servlet.http.HttpServletResponse response)
    • Method Detail

      • sendError

        protected void sendError​(int errorStatusCode)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • setHeader

        protected void setHeader​(java.lang.String headerName,
                                 java.lang.String headerValue)
      • setContentType

        protected void setContentType​(java.lang.String contentType)
      • setCharacterEncoding

        protected void setCharacterEncoding​(java.lang.String characterEncoding)
      • getWriter

        protected java.io.PrintWriter getWriter()
                                         throws java.io.IOException
        Throws:
        java.io.IOException