public class NonWritingServletOutputStream
extends javax.servlet.ServletOutputStream
ServletOutputStream which caches all the written input and writes only when
finallyWriteAndClose(ServletOutputStream) method is called.| Constructor and Description |
|---|
NonWritingServletOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finallyWriteAndClose(javax.servlet.ServletOutputStream delegate) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnflushpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void finallyWriteAndClose(javax.servlet.ServletOutputStream delegate)
throws IOException
IOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.