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

All Implemented Interfaces:
    Closeable

This class handles reading bytes.
Field Summary
protected  InputBuffer ib     
Constructor:
 protected CoyoteInputStream(InputBuffer ib) 
Method from org.apache.catalina.connector.CoyoteInputStream Summary:
available,   clear,   clone,   close,   read,   read,   read,   readLine
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.catalina.connector.CoyoteInputStream Detail:
 public int available() throws IOException 
  void clear() 
    Clear facade.
 protected Object clone() throws CloneNotSupportedException 
    Prevent cloning the facade.
 public  void close() throws IOException 
    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 
 public int readLine(byte[] b,
    int off,
    int len) throws IOException