private class ContentCachingRequestWrapper.ContentCachingInputStream
extends ServletInputStream
Modifier and Type | Field and Description |
---|---|
private ServletInputStream |
is |
private boolean |
overflow |
Constructor and Description |
---|
ContentCachingInputStream(ServletInputStream is) |
Modifier and Type | Method and Description |
---|---|
boolean |
isFinished() |
boolean |
isReady() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
int |
readLine(byte[] b,
int off,
int len) |
void |
setReadListener(ReadListener readListener) |
private void |
writeToCache(byte[] b,
int off,
int count) |
public ContentCachingInputStream(ServletInputStream is)
public int read() throws java.io.IOException
java.io.IOException
public int read(byte[] b) throws java.io.IOException
java.io.IOException
private void writeToCache(byte[] b, int off, int count)
public int read(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
public int readLine(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
public boolean isFinished()
public boolean isReady()
public void setReadListener(ReadListener readListener)