org.apache.coyote

Interface OutputBuffer

public interface OutputBuffer

Output buffer. This class is used internally by the protocol implementation. All writes from higher level code should happen via Resonse.doWrite().

Author: Remy Maucherat

Method Summary
intdoWrite(ByteChunk chunk, Response response)
Write the response.

Method Detail

doWrite

public int doWrite(ByteChunk chunk, Response response)
Write the response. The caller ( tomcat ) owns the chunks.

Parameters: chunk data to write response used to allow buffers that can be shared by multiple responses.

Returns:

Throws: IOException

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