public class InterceptingServletOutputStream
extends javax.servlet.ServletOutputStream
| Constructor and Description |
|---|
InterceptingServletOutputStream(javax.servlet.ServletOutputStream os,
boolean buffered) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
void |
flush() |
byte[] |
getResponseBytes() |
boolean |
isReady() |
void |
reset() |
void |
setResponseBytes(byte[] responseBytes) |
void |
setWriteListener(javax.servlet.WriteListener listener) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int i) |
public InterceptingServletOutputStream(javax.servlet.ServletOutputStream os,
boolean buffered)
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic void reset()
throws IOException
IOExceptionpublic byte[] getResponseBytes()
throws IOException
IOExceptionpublic void setResponseBytes(byte[] responseBytes)
throws IOException
IOExceptionpublic void write(int i)
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 OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void commit()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic boolean isReady()
isReady in class javax.servlet.ServletOutputStreampublic void setWriteListener(javax.servlet.WriteListener listener)
setWriteListener in class javax.servlet.ServletOutputStreamCopyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.