public class LiferayInputStream
extends com.liferay.portal.kernel.servlet.ServletInputStreamAdapter
| Modifier and Type | Field and Description |
|---|---|
static 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 String COPY_MULTIPART_STREAM_TO_FILE
public static final long THRESHOLD_SIZE
public LiferayInputStream(javax.servlet.http.HttpServletRequest httpServletRequest)
throws IOException
IOExceptionpublic void cleanUp()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class com.liferay.portal.kernel.servlet.ServletInputStreamAdapterIOExceptionpublic javax.servlet.ServletInputStream getCachedInputStream()
throws IOException
IOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class com.liferay.portal.kernel.servlet.ServletInputStreamAdapterIOException