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:
- java.io.Closeable
public class LiferayInputStream
- extends com.liferay.util.servlet.ServletInputStreamWrapper
View Source
- Author:
- Brian Myunghun Kim, Brian Wing Shun Chan, Harry Mark
Methods inherited from class com.liferay.util.servlet.ServletInputStreamWrapper |
available, close, mark, markSupported, read, read, readLine, reset, skip |
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 java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class com.liferay.util.servlet.ServletInputStreamWrapper
- Throws:
java.io.IOException
getCachedInputStream
public javax.servlet.ServletInputStream getCachedInputStream()