org.directwebremoting.util
Class DelegatingServletOutputStream

java.lang.Object
  extended by ServletOutputStream
      extended by org.directwebremoting.util.DelegatingServletOutputStream

public class DelegatingServletOutputStream
extends ServletOutputStream

Delegating implementation of ServletOutputStream.


Constructor Summary
DelegatingServletOutputStream(java.io.OutputStream targetStream)
          Create a new DelegatingServletOutputStream.
 
Method Summary
 void close()
           
 void flush()
           
 java.io.OutputStream getTargetStream()
          Accessor for the stream that we are proxying to
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingServletOutputStream

public DelegatingServletOutputStream(java.io.OutputStream targetStream)
Create a new DelegatingServletOutputStream.

Parameters:
targetStream - the target OutputStream
Method Detail

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