com.sun.grizzly.http
Interface ByteBufferStream

All Superinterfaces:
Flushable

public interface ByteBufferStream
extends Flushable

Add Flushable properties to a ByteBuffer stream.

Author:
Jean-Francois Arcand

Method Summary
 void flush()
          Flush the current ByteBuffer
 void write(ByteBuffer byteBuffer)
          Write the ByteBuffer
 

Method Detail

write

void write(ByteBuffer byteBuffer)
           throws IOException
Write the ByteBuffer

Throws:
IOException

flush

void flush()
           throws IOException
Flush the current ByteBuffer

Specified by:
flush in interface Flushable
Throws:
IOException


Copyright © 2010 SUN Microsystems. All Rights Reserved.