com.sun.grizzly.tcp
Interface OutputBuffer
- All Known Subinterfaces:
- OutputFilter
- All Known Implementing Classes:
- AsynchronousOutputBuffer, ChunkedOutputFilter, GzipOutputFilter, IdentityOutputFilter, InternalOutputBuffer, InternalOutputBuffer.OutputStreamOutputBuffer, JkInputStream, LzmaOutputFilter, SocketChannelOutputBuffer, SSLAsyncOutputBuffer, SSLOutputBuffer, VoidOutputFilter, WebSocketOutputFilter
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
doWrite
int doWrite(ByteChunk chunk,
Response response)
throws IOException
- Writes the response. The caller ( tomcat ) owns the chunks.
- Parameters:
chunk
- Data to writeresponse
- Used to allow buffers that can be shared by multiple
responses.
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.