Package com.jalios.servlet
Class CachedServletInputStream
- java.lang.Object
-
- java.io.InputStream
-
- javax.servlet.ServletInputStream
-
- com.jalios.servlet.ServletInputStreamWrapper
-
- com.jalios.servlet.CachedServletInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class CachedServletInputStream extends ServletInputStreamWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PERCENT
-
Constructor Summary
Constructors Constructor Description CachedServletInputStream(javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.servlet.ServletInputStream
getCachedInputStream()
int
read(byte[] b, int off, int len)
-
Methods inherited from class com.jalios.servlet.ServletInputStreamWrapper
available, close, isFinished, isReady, mark, markSupported, read, read, readLine, reset, setReadListener, skip
-
-
-
-
Method Detail
-
getCachedInputStream
public javax.servlet.ServletInputStream getCachedInputStream()
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
read
in classServletInputStreamWrapper
- Throws:
java.io.IOException
-
-