com.liferay.portal.upload
Class LiferayInputStream
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
com.liferay.util.servlet.ServletInputStreamWrapper
com.liferay.portal.upload.LiferayInputStream
- All Implemented Interfaces:
- Closeable
public class LiferayInputStream
- extends ServletInputStreamWrapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THRESHOLD_SIZE
public static final int THRESHOLD_SIZE
LiferayInputStream
public LiferayInputStream(javax.servlet.http.HttpServletRequest request)
throws IOException
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class ServletInputStreamWrapper
- Throws:
IOException
getCachedInputStream
public javax.servlet.ServletInputStream getCachedInputStream()