Apache Tomcat 6.0.53

org.apache.coyote.memory
Class MemoryProtocolHandler.ByteChunkOutputBuffer

java.lang.Object
  extended by org.apache.coyote.memory.MemoryProtocolHandler.ByteChunkOutputBuffer
All Implemented Interfaces:
OutputBuffer
Enclosing class:
MemoryProtocolHandler

protected class MemoryProtocolHandler.ByteChunkOutputBuffer
extends java.lang.Object
implements OutputBuffer


Field Summary
protected  ByteChunk output
           
 
Constructor Summary
MemoryProtocolHandler.ByteChunkOutputBuffer(ByteChunk output)
           
 
Method Summary
 int doWrite(ByteChunk chunk, Response response)
          Write the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

output

protected ByteChunk output
Constructor Detail

MemoryProtocolHandler.ByteChunkOutputBuffer

public MemoryProtocolHandler.ByteChunkOutputBuffer(ByteChunk output)
Method Detail

doWrite

public int doWrite(ByteChunk chunk,
                   Response response)
            throws java.io.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 write
response - used to allow buffers that can be shared by multiple responses.
Throws:
java.io.IOException

Apache Tomcat 6.0.53

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.