org.directwebremoting.util
Class DelegatingServletInputStream
java.lang.Object
ServletInputStream
org.directwebremoting.util.DelegatingServletInputStream
public class DelegatingServletInputStream
- extends ServletInputStream
Delegating implementation of ServletInputStream.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingServletInputStream
public DelegatingServletInputStream(java.io.InputStream proxy)
- Create a new DelegatingServletInputStream.
- Parameters:
proxy
- the sourceStream InputStream
getTargetStream
public java.io.InputStream getTargetStream()
- Accessor for the stream that we are proxying to
- Returns:
- The stream we proxy to
getSourceStream
public java.io.InputStream getSourceStream()
- Returns:
- The stream that we proxy to
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException