| javax.servlet.http.HttpServletResponseWrapper org.apache.catalina.ssi.ResponseIncludeWrapper
ResponseIncludeWrapper | public class ResponseIncludeWrapper extends HttpServletResponseWrapper (Code) | | A HttpServletResponseWrapper, used from SSIServletExternalResolver
author: Bip Thelin version: $Revision: 1.4 $, $Date: 2004/05/26 16:14:49 $ |
Method Summary | |
public void | flushOutputStreamOrWriter() Flush the servletOutputStream or printWriter ( only one will be non-null )
This must be called after a requestDispatcher.include, since we can't assume that
the included servlet flushed its stream. | public ServletOutputStream | getOutputStream() Return a OutputStream, throws and exception if a
printwriter already been returned. | public PrintWriter | getWriter() Return a printwriter, throws and exception if a
OutputStream already been returned. |
ResponseIncludeWrapper | public ResponseIncludeWrapper(HttpServletResponse res, ServletOutputStream originalServletOutputStream)(Code) | | Initialize our wrapper with the current HttpServletResponse
and ServletOutputStream.
Parameters: res - The HttpServletResponse to use Parameters: originalServletOutputStream - The ServletOutputStream' to use |
flushOutputStreamOrWriter | public void flushOutputStreamOrWriter() throws IOException(Code) | | Flush the servletOutputStream or printWriter ( only one will be non-null )
This must be called after a requestDispatcher.include, since we can't assume that
the included servlet flushed its stream.
|
|
|