public class ServletResponseWrapperInclude
extends HttpServletResponseWrapper
| Constructor and Description |
|---|
ServletResponseWrapperInclude(ServletResponse response,
JspWriter jspWriter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFlush()
Indicates whether or not the wrapped JspWriter can be flushed.
|
void |
flushBuffer()
Flush the wrapper around the JspWriter of the including page.
|
ServletOutputStream |
getOutputStream() |
java.io.PrintWriter |
getWriter()
Returns a wrapper around the JspWriter of the including page.
|
boolean |
hasData()
Are there any data to be flushed ?
|
void |
resetBuffer()
Clears the output buffer of the JspWriter associated with the including
page.
|
public ServletResponseWrapperInclude(ServletResponse response,
JspWriter jspWriter)
public java.io.PrintWriter getWriter()
throws java.io.IOException
java.io.IOExceptionpublic ServletOutputStream getOutputStream()
throws java.io.IOException
java.io.IOExceptionpublic void resetBuffer()
public void flushBuffer()
throws java.io.IOException
java.io.IOExceptionpublic boolean canFlush()
public boolean hasData()