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 IOException
IOException
public void cleanUp()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class com.liferay.portal.kernel.servlet.ServletInputStreamAdapter
IOException
public javax.servlet.ServletInputStream getCachedInputStream() throws IOException
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class com.liferay.portal.kernel.servlet.ServletInputStreamAdapter
IOException