Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » coyote » http11 » filters » [javadoc | source]
org.apache.coyote.http11.filters
public class: BufferedInputFilter [javadoc | source]
java.lang.Object
   org.apache.coyote.http11.filters.BufferedInputFilter

All Implemented Interfaces:
    InputFilter

Input filter responsible for reading and buffering the request body, so that it does not interfere with client SSL handshake messages.
Method from org.apache.coyote.http11.filters.BufferedInputFilter Summary:
available,   doRead,   end,   getEncodingName,   recycle,   setBuffer,   setLimit,   setRequest
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.coyote.http11.filters.BufferedInputFilter Detail:
 public int available() 
 public int doRead(ByteChunk chunk,
    Request request) throws IOException 
    Fills the given ByteChunk with the buffered request body.
 public long end() throws IOException 
 public ByteChunk getEncodingName() 
 public  void recycle() 
 public  void setBuffer(InputBuffer buffer) 
 public  void setLimit(int limit) 
    Set the buffering limit. This should be reset every time the buffer is used.
 public  void setRequest(Request request) 
    Reads the request body and buffers it.