|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream javax.servlet.ServletOutputStream org.springframework.extensions.surf.util.FakeHttpServletResponse.DelegatingServletOutputStream
public class FakeHttpServletResponse.DelegatingServletOutputStream
The Class DelegatingServletOutputStream.
Constructor Summary | |
---|---|
FakeHttpServletResponse.DelegatingServletOutputStream(OutputStream targetStream)
Instantiates a new delegating servlet output stream. |
Method Summary | |
---|---|
void |
close()
|
void |
flush()
|
OutputStream |
getTargetStream()
Gets the target stream. |
void |
write(int b)
|
Methods inherited from class javax.servlet.ServletOutputStream |
---|
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
Methods inherited from class java.io.OutputStream |
---|
write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FakeHttpServletResponse.DelegatingServletOutputStream(OutputStream targetStream)
targetStream
- the target streamMethod Detail |
---|
public OutputStream getTargetStream()
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class OutputStream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |