|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream org.apache.jk.common.JkInputStream
Generic input stream impl on top of ajp
Field Summary | |
static int |
H_SIZE
|
static byte |
JK_AJP13_GET_BODY_CHUNK
|
static int |
MAX_PACKET_SIZE
|
static int |
MAX_READ_SIZE
|
Constructor Summary | |
JkInputStream()
|
Method Summary | |
int |
available()
|
void |
close()
|
int |
doRead(ByteChunk responseChunk)
|
int |
doRead1(byte[] b,
int off,
int len)
|
void |
mark(int readLimit)
|
boolean |
markSupported()
|
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
boolean |
receive()
Receive a chunk of data. |
void |
recycle()
Must be called before or after each request |
void |
reset()
|
void |
setContentLength(int i)
Must be called after the request is parsed, before any input |
void |
setMsgContext(MsgContext mc)
Must be called when the stream is created |
long |
skip(long n)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX_PACKET_SIZE
public static final int H_SIZE
public static final int MAX_READ_SIZE
public static final byte JK_AJP13_GET_BODY_CHUNK
Constructor Detail |
public JkInputStream()
Method Detail |
public int available() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public void mark(int readLimit)
public boolean markSupported()
public void reset() throws java.io.IOException
java.io.IOException
public int read() 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 long skip(long n) throws java.io.IOException
java.io.IOException
public int doRead1(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
public void setContentLength(int i)
public void setMsgContext(MsgContext mc)
public void recycle()
public int doRead(ByteChunk responseChunk) throws java.io.IOException
java.io.IOException
public boolean receive() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |