com.liferay.util.servlet.fileupload
Class LiferayInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjavax.servlet.ServletInputStream
          extended bycom.liferay.util.servlet.ServletInputStreamWrapper
              extended bycom.liferay.util.servlet.fileupload.LiferayInputStream

public class LiferayInputStream
extends ServletInputStreamWrapper

View Source

Author:
Brian Myunghun Kim, Brian Wing Shun Chan, Harry Mark

Constructor Summary
LiferayInputStream(javax.servlet.http.HttpServletRequest req)
           
 
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
 

Constructor Detail

LiferayInputStream

public LiferayInputStream(javax.servlet.http.HttpServletRequest req)
                   throws java.io.IOException
Method Detail

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class ServletInputStreamWrapper
Throws:
java.io.IOException

getCachedInputStream

public javax.servlet.ServletInputStream getCachedInputStream()
                                                      throws java.io.IOException
Throws:
java.io.IOException