Class ServletInputStreamAdapter
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
com.ibm.websphere.servlet.request.ServletInputStreamAdapter
- All Implemented Interfaces:
- Closeable,- AutoCloseable
public class ServletInputStreamAdapter
extends javax.servlet.ServletInputStream
Adapter class creates a ServletInputStream from a java.io.InputStream.
 This class will proxy all method calls to the underlying stream.
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a ServletInputStream from an InputStream.
- 
Method SummaryMethods inherited from class javax.servlet.ServletInputStreamreadLine
- 
Constructor Details- 
ServletInputStreamAdapterCreates a ServletInputStream from an InputStream.
 
- 
- 
Method Details- 
read- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
- 
available- Overrides:
- availablein class- InputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
- 
markpublic void mark(int readlimit) - Overrides:
- markin class- InputStream
 
- 
skip- Overrides:
- skipin class- InputStream
- Throws:
- IOException
 
- 
markSupportedpublic boolean markSupported()- Overrides:
- markSupportedin class- InputStream
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
- 
reset- Overrides:
- resetin class- InputStream
- Throws:
- IOException
 
 
-