public class LazyResponseOutputStream extends OutputStream
| Constructor and Description |
|---|
LazyResponseOutputStream(javax.servlet.http.HttpServletResponse response) |
public LazyResponseOutputStream(javax.servlet.http.HttpServletResponse response)
response - the response that will be used to get the outputstream,
this will die if someone has tried to get the writer out of thispublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionCopyright © 2007–2020 CARET, University of Cambridge. All rights reserved.