Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » coyote » tomcat4 » [javadoc | source]
org.apache.coyote.tomcat4
public class: CoyoteInputStream [javadoc | source]
java.lang.Object
   java.io.InputStream
      javax.servlet.ServletInputStream
         org.apache.coyote.tomcat4.CoyoteInputStream

All Implemented Interfaces:
    Closeable

This class handles the readin input bytes, as well as the input buffering.
Method from org.apache.coyote.tomcat4.CoyoteInputStream Summary:
available,   close,   read,   read,   read,   readBytes,   readLine,   recycle,   setRequest
Methods from javax.servlet.ServletInputStream:
readLine
Methods from java.io.InputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.coyote.tomcat4.CoyoteInputStream Detail:
 public int available() throws IOException 
 public  void close() 
    Close the stream Since we re-cycle, we can't allow the call to super.close() which would permantely disable us.
 public int read() throws IOException 
 public int read(byte[] b) throws IOException 
 public int read(byte[] b,
    int off,
    int len) throws IOException 
 protected int readBytes() throws IOException 
    Read bytes to the read chunk buffer.
 public int readLine(byte[] b,
    int off,
    int len) throws IOException 
  void recycle() 
    Recycle the input stream.
  void setRequest(Request coyoteRequest)