Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » runtime » [javadoc | source]
org.apache.jasper.runtime
public class: ServletResponseWrapperInclude [javadoc | source]
java.lang.Object
   javax.servlet.ServletResponseWrapper
      javax.servlet.http.HttpServletResponseWrapper
         org.apache.jasper.runtime.ServletResponseWrapperInclude

All Implemented Interfaces:
    HttpServletResponse, ServletResponse

ServletResponseWrapper used by the JSP 'include' action. This wrapper response object is passed to RequestDispatcher.include(), so that the output of the included resource is appended to that of the including page.
Constructor:
 public ServletResponseWrapperInclude(ServletResponse response,
    JspWriter jspWriter) 
Method from org.apache.jasper.runtime.ServletResponseWrapperInclude Summary:
getOutputStream,   getWriter,   resetBuffer
Methods from javax.servlet.http.HttpServletResponseWrapper:
addCookie,   addDateHeader,   addHeader,   addIntHeader,   containsHeader,   encodeRedirectURL,   encodeRedirectUrl,   encodeURL,   encodeUrl,   sendError,   sendError,   sendRedirect,   setDateHeader,   setHeader,   setIntHeader,   setStatus,   setStatus
Methods from javax.servlet.ServletResponseWrapper:
flushBuffer,   getBufferSize,   getCharacterEncoding,   getContentType,   getLocale,   getOutputStream,   getResponse,   getWriter,   isCommitted,   reset,   resetBuffer,   setBufferSize,   setCharacterEncoding,   setContentLength,   setContentType,   setLocale,   setResponse
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jasper.runtime.ServletResponseWrapperInclude Detail:
 public ServletOutputStream getOutputStream() throws IOException 
 public PrintWriter getWriter() throws IOException 
    Returns a wrapper around the JspWriter of the including page.
 public  void resetBuffer() 
    Clears the output buffer of the JspWriter associated with the including page.