public class CoyoteInputStream
extends ServletInputStream
| Modifier and Type | Field and Description |
|---|---|
protected InputBuffer |
ib |
| Modifier | Constructor and Description |
|---|---|
protected |
CoyoteInputStream(InputBuffer ib) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
protected java.lang.Object |
clone()
Prevent cloning the facade.
|
void |
close()
Close the stream
Since we re-cycle, we can't allow the call to super.close()
which would permantely disable us.
|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
int |
readLine(byte[] b,
int off,
int len) |
protected InputBuffer ib
protected CoyoteInputStream(InputBuffer ib)
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic int read()
throws java.io.IOException
java.io.IOExceptionpublic int available()
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic int readLine(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOException