public class LiferayInputStream
extends com.liferay.portal.kernel.servlet.ServletInputStreamAdapter
| Modifier and Type | Field and Description |
|---|---|
static long |
THRESHOLD_SIZE |
| Constructor and Description |
|---|
LiferayInputStream(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
close() |
javax.servlet.ServletInputStream |
getCachedInputStream() |
int |
read(byte[] b,
int off,
int len) |
public LiferayInputStream(javax.servlet.http.HttpServletRequest request)
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