Top Description Methods
org.glassfish.grizzly.http.io

public Interface BinaryNIOOutputSink

extends OutputSink
Known Direct Implementers
org.glassfish.grizzly.http.io.NIOOutputStream
Imports
java.io.IOException, org.glassfish.grizzly.Buffer, .OutputSink

Adds the ability for binary based org.glassfish.grizzly.OutputSinks to write a Buffer instead of having to convert to those types supported by java.io.OutputStream.
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public void
write(final Buffer buffer)

Writes the contents of the specified org.glassfish.grizzly.Buffer.

Inherited from org.glassfish.grizzly.OutputSink:
canWritecanWritenotifyCanWritenotifyCanWrite

Method Detail

writeback to summary
public void write(final Buffer buffer) throws IOException

Writes the contents of the specified org.glassfish.grizzly.Buffer.

Parameters
buffer:Buffer

the to write