jet.scratchboard
Class ServletInputStreamWrapper
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
jet.scratchboard.ServletInputStreamWrapper
- All Implemented Interfaces:
- java.io.Closeable
public class ServletInputStreamWrapper
- extends javax.servlet.ServletInputStream
- Author:
- Markus.Meisters@web.de
Field Summary |
private java.io.InputStream |
in
wrapped inputstream |
Method Summary |
private void |
init(java.io.InputStream in)
method to initialize initialize |
int |
read()
javax.servlet.ServletInputStream#read() |
int |
read(byte[] b)
javax.servlet.ServletInputStream#read(byte[]) |
Methods inherited from class javax.servlet.ServletInputStream |
readLine |
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
private java.io.InputStream in
- wrapped inputstream
ServletInputStreamWrapper
public ServletInputStreamWrapper(java.io.InputStream in)
- constructor
init
private void init(java.io.InputStream in)
- method to initialize initialize
read
public int read()
throws java.io.IOException
- javax.servlet.ServletInputStream#read()
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] b)
throws java.io.IOException
- javax.servlet.ServletInputStream#read(byte[])
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException