FileDocCategorySizeDatePackage
InputBuffer.javaAPI DocApache Tomcat 6.0.141570Fri Jul 20 04:20:36 BST 2007org.apache.coyote

InputBuffer

public interface InputBuffer
Input buffer. This class is used only in the protocol implementation. All reading from tomcat ( or adapter ) should be done using Request.doRead().
author
Remy Maucherat

Fields Summary
Constructors Summary
Methods Summary
public intdoRead(org.apache.tomcat.util.buf.ByteChunk chunk, Request request)
Return from the input stream. IMPORTANT: the current model assumes that the protocol will 'own' the buffer and return a pointer to it in ByteChunk ( i.e. the param will have chunk.getBytes()==null before call, and the result after the call ).