|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.http.jk.common.JkInputStream
public class JkInputStream
Generic input stream impl on top of ajp
| Constructor Summary | |
|---|---|
JkInputStream(MsgContext context)
Deprecated. |
|
JkInputStream(MsgContext context,
int bsize)
|
|
| Method Summary | |
|---|---|
void |
appendHead(Response res)
|
int |
doRead(ByteChunk responseChunk,
Request req)
|
int |
doWrite(ByteChunk chunk,
Response res)
|
void |
endMessage()
|
boolean |
isReadRequired()
Return the flag saying that the server is sending a body |
boolean |
receive()
Receive a chunk of data. |
void |
recycle()
Must be called before or after each request |
void |
setIsReadRequired(boolean irr)
Set the flag saying that the server is sending a body |
void |
setReplay(ByteChunk replay)
Set the replay buffer for Form auth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JkInputStream(MsgContext context,
int bsize)
public JkInputStream(MsgContext context)
| Method Detail |
|---|
public void setIsReadRequired(boolean irr)
public boolean isReadRequired()
public void recycle()
public void endMessage()
throws IOException
IOException
public int doWrite(ByteChunk chunk,
Response res)
throws IOException
doWrite in interface OutputBufferIOException
public int doRead(ByteChunk responseChunk,
Request req)
throws IOException
doRead in interface InputBufferIOException
public boolean receive()
throws IOException
IOException
public void appendHead(Response res)
throws IOException
IOExceptionpublic void setReplay(ByteChunk replay)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||