org.apache.coyote.memory
Class MemoryProtocolHandler.ByteChunkInputBuffer
java.lang.Object
org.apache.coyote.memory.MemoryProtocolHandler.ByteChunkInputBuffer
- MemoryProtocolHandler
- InputBuffer
protected class MemoryProtocolHandler.ByteChunkInputBuffer
extends java.lang.Object
ByteChunkInputBuffer
public ByteChunkInputBuffer(ByteChunk input)
doRead
public int doRead(ByteChunk chunk,
Request request)
throws IOException
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 ).
- doRead in interface InputBuffer
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.