org.directwebremoting.util
Class DelegatingServletOutputStream
java.lang.Object
ServletOutputStream
org.directwebremoting.util.DelegatingServletOutputStream
public class DelegatingServletOutputStream
- extends ServletOutputStream
Delegating implementation of ServletOutputStream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingServletOutputStream
public DelegatingServletOutputStream(java.io.OutputStream targetStream)
- Create a new DelegatingServletOutputStream.
- Parameters:
targetStream
- the target OutputStream
getTargetStream
public java.io.OutputStream getTargetStream()
- Accessor for the stream that we are proxying to
- Returns:
- The stream we proxy to
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException