org.glassfish.grizzly.http.server.io
Interface BinaryNIOOutputSink

All Superinterfaces:
NIOOutputSink
All Known Implementing Classes:
NIOOutputStream

public interface BinaryNIOOutputSink
extends NIOOutputSink

Adds the ability for binary based NIOOutputSinks to write a Buffer instead of having to convert to those types supported by OutputStream.

Since:
2.0

Method Summary
 void write(Buffer buffer)
          Writes the contents of the specified Buffer.
 
Methods inherited from interface org.glassfish.grizzly.http.server.io.NIOOutputSink
canWrite, notifyCanWrite
 

Method Detail

write

void write(Buffer buffer)
           throws java.io.IOException
Writes the contents of the specified Buffer.

Parameters:
buffer - the to write
Throws:
java.io.IOException


Copyright © 2011 Oracle Corpration. All Rights Reserved.