Save This Page
Home » apache-tomcat-6.0.26-src » org.apache.jk » common » [javadoc | source]
public class: JkInputStream [javadoc | source]

All Implemented Interfaces:
    InputBuffer, OutputBuffer

Generic input stream impl on top of ajp
 public JkInputStream(MsgContext context) 
     public JkInputStream(MsgContext context,
        int bsize) 
    Method from org.apache.jk.common.JkInputStream Summary:
    appendHead,   doRead,   doWrite,   endMessage,   isReadRequired,   receive,   recycle,   setIsReadRequired,   setReplay
    Methods from java.lang.Object:
    clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
    Method from org.apache.jk.common.JkInputStream Detail:
     public  void appendHead(Response res) throws IOException 
     public int doRead(ByteChunk responseChunk,
        Request req) throws IOException 
     public int doWrite(ByteChunk chunk,
        Response res) throws IOException 
     public  void endMessage() throws IOException 
     public boolean isReadRequired() 
      Return the flag saying that the server is sending a body
     public boolean receive() throws IOException 
      Receive a chunk of data. Called to implement the 'special' packet in ajp13 and to receive the data after we send a GET_BODY packet
     public  void recycle() 
      Must be called before or after each request
     public  void setIsReadRequired(boolean irr) 
      Set the flag saying that the server is sending a body
     public  void setReplay(ByteChunk replay) 
      Set the replay buffer for Form auth