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.CloneNotSupportedException
public int read() throws java.io.IOException
java.io.IOException
public int available() throws java.io.IOException
java.io.IOException
public int read(byte[] b) throws java.io.IOException
java.io.IOException
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 void close() throws java.io.IOException
java.io.IOException