Liferay 6.2-ce-ga4

com.liferay.portal.upload
Class LiferayInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by com.liferay.portal.kernel.servlet.ServletInputStreamAdapter
              extended by com.liferay.portal.upload.LiferayInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class LiferayInputStream
extends ServletInputStreamAdapter


Field Summary
static long THRESHOLD_SIZE
           
 
Fields inherited from class com.liferay.portal.kernel.servlet.ServletInputStreamAdapter
inputStream
 
Constructor Summary
LiferayInputStream(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 javax.servlet.ServletInputStream getCachedInputStream()
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class com.liferay.portal.kernel.servlet.ServletInputStreamAdapter
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class javax.servlet.ServletInputStream
readLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THRESHOLD_SIZE

public static final long THRESHOLD_SIZE
Constructor Detail

LiferayInputStream

public LiferayInputStream(javax.servlet.http.HttpServletRequest request)
                   throws IOException
Throws:
IOException
Method Detail

getCachedInputStream

public javax.servlet.ServletInputStream getCachedInputStream()

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class ServletInputStreamAdapter
Throws:
IOException

Liferay 6.2-ce-ga4