Methods Summary |
---|
public void | flushBuffer()
if (this.outputStream != null) {
this.outputStream.flush();
} else if (this.printWriter != null) {
this.printWriter.flush();
}
|
public byte[] | getBuffer()
return this.bufferedServletOut.getBuffer();
|
public int | getBufferSize()
return this.bufferedServletOut.getBuffer().length;
|
public javax.servlet.ServletOutputStream | getOutputStream()
if (this.printWriter != null) {
throw new IllegalStateException(
"The Servlet API forbids calling getOutputStream() after"
+ " getWriter() has been called");
}
if (this.outputStream == null) {
this.outputStream = this.bufferedServletOut;
}
return this.outputStream;
|
public java.io.PrintWriter | getWriter()
if (this.outputStream != null) {
throw new IllegalStateException(
"The Servlet API forbids calling getWriter() after"
+ " getOutputStream() has been called");
}
if (this.printWriter == null) {
this.printWriter = new PrintWriter(this.bufferedServletOut);
}
return this.printWriter;
|
public void | reset()
this.bufferedServletOut.reset();
|
public void | resetBuffer()
this.bufferedServletOut.reset();
|
public void | setBufferSize(int size)
this.bufferedServletOut.setBufferSize(size);
|