public class FakeHttpServletResponse.DelegatingServletOutputStream
extends javax.servlet.ServletOutputStream
| Constructor and Description |
|---|
FakeHttpServletResponse.DelegatingServletOutputStream(OutputStream targetStream)
Instantiates a new delegating servlet output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
OutputStream |
getTargetStream()
Gets the target stream.
|
void |
write(int b) |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnwrite, writepublic FakeHttpServletResponse.DelegatingServletOutputStream(OutputStream targetStream)
targetStream - the target streampublic OutputStream getTargetStream()
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.