com.sun.grizzly.tcp.http11
Class InternalOutputBuffer.OutputStreamOutputBuffer

java.lang.Object
  extended by com.sun.grizzly.tcp.http11.InternalOutputBuffer.OutputStreamOutputBuffer
All Implemented Interfaces:
OutputBuffer
Enclosing class:
InternalOutputBuffer

public class InternalOutputBuffer.OutputStreamOutputBuffer
extends java.lang.Object
implements OutputBuffer

This class is an output buffer which will write data to an output stream.


Constructor Summary
InternalOutputBuffer.OutputStreamOutputBuffer()
           
 
Method Summary
 int doWrite(ByteChunk chunk, Response res)
          Write chunk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalOutputBuffer.OutputStreamOutputBuffer

public InternalOutputBuffer.OutputStreamOutputBuffer()
Method Detail

doWrite

public int doWrite(ByteChunk chunk,
                   Response res)
            throws java.io.IOException
Write chunk.

Specified by:
doWrite in interface OutputBuffer
Parameters:
chunk - Data to write
res - Used to allow buffers that can be shared by multiple responses.
Throws:
java.io.IOException


Copyright © 2012 Oracle Corporation. All Rights Reserved.