public class ServletOutputStreamWrapper
extends javax.servlet.ServletOutputStream
ServletOutputStream write calls to standard buffered IO.| Constructor and Description |
|---|
ServletOutputStreamWrapper(OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
protected void |
flushInternalBuffer() |
boolean |
isReady() |
void |
setWriteListener(javax.servlet.WriteListener writeListener) |
void |
write(int b) |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnclose, write, writepublic ServletOutputStreamWrapper(OutputStream outputStream)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionprotected void flushInternalBuffer()
throws IOException
IOExceptionpublic boolean isReady()
isReady in class javax.servlet.ServletOutputStreampublic void setWriteListener(javax.servlet.WriteListener writeListener)
setWriteListener in class javax.servlet.ServletOutputStreamCopyright © 2019. All rights reserved.