Liferay 6.0.5

com.liferay.portal.upload
Class LiferayInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by com.liferay.util.servlet.ServletInputStreamWrapper
              extended by com.liferay.portal.upload.LiferayInputStream
All Implemented Interfaces:
Closeable

public class LiferayInputStream
extends ServletInputStreamWrapper


Field Summary
static int THRESHOLD_SIZE
           
 
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.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
 

Field Detail

THRESHOLD_SIZE

public static final int THRESHOLD_SIZE
Constructor Detail

LiferayInputStream

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

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()

Liferay 6.0.5