Methods Summary |
---|
public boolean | canFlush()Indicates whether or not the wrapped JspWriter can be flushed.
(BodyContent objects cannot be flushed)
return canFlushWriter;
|
public void | flushBuffer()Flush the wrapper around the JspWriter of the including page.
printWriter.flush();
|
public javax.servlet.ServletOutputStream | getOutputStream()
throw new IllegalStateException();
|
public java.io.PrintWriter | getWriter()Returns a wrapper around the JspWriter of the including page.
return printWriter;
|
public boolean | hasData()Are there any data to be flushed ?
if (!canFlushWriter || ((JspWriterImpl)jspWriter).hasData()) {
return true;
}
return false;
|
public void | resetBuffer()Clears the output buffer of the JspWriter associated with the including
page.
try {
jspWriter.clearBuffer();
} catch (IOException ioe) {
}
|