org.apache.coyote.memory
Class MemoryProtocolHandler.ByteChunkOutputBuffer
java.lang.Object
org.apache.coyote.memory.MemoryProtocolHandler.ByteChunkOutputBuffer
- All Implemented Interfaces:
- OutputBuffer
- Enclosing class:
- MemoryProtocolHandler
protected class MemoryProtocolHandler.ByteChunkOutputBuffer
- extends Object
- implements OutputBuffer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
output
protected ByteChunk output
MemoryProtocolHandler.ByteChunkOutputBuffer
public MemoryProtocolHandler.ByteChunkOutputBuffer(ByteChunk output)
doWrite
public int doWrite(ByteChunk chunk,
Response response)
throws IOException
- Description copied from interface:
OutputBuffer
- Write the response. The caller ( tomcat ) owns the chunks.
- Specified by:
doWrite in interface OutputBuffer
- Parameters:
chunk - data to writeresponse - used to allow buffers that can be shared by multiple responses.
- Returns:
-
- Throws:
IOException
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.