public class LiferayInputStream
extends com.liferay.portal.kernel.servlet.ServletInputStreamAdapter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPY_MULTIPART_STREAM_TO_FILE |
static long |
THRESHOLD_SIZE |
| Constructor and Description |
|---|
LiferayInputStream(javax.servlet.http.HttpServletRequest httpServletRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
close() |
javax.servlet.ServletInputStream |
getCachedInputStream() |
int |
read(byte[] b,
int off,
int len) |
public static final java.lang.String COPY_MULTIPART_STREAM_TO_FILE
public static final long THRESHOLD_SIZE
public LiferayInputStream(javax.servlet.http.HttpServletRequest httpServletRequest)
throws java.io.IOException
java.io.IOExceptionpublic void cleanUp()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class com.liferay.portal.kernel.servlet.ServletInputStreamAdapterjava.io.IOExceptionpublic javax.servlet.ServletInputStream getCachedInputStream()
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class com.liferay.portal.kernel.servlet.ServletInputStreamAdapterjava.io.IOException