Interface BinaryNIOOutputSink

All Superinterfaces:
org.glassfish.grizzly.OutputSink
All Known Implementing Classes:
NIOOutputStream

public interface BinaryNIOOutputSink extends org.glassfish.grizzly.OutputSink
Adds the ability for binary based OutputSinks to write a Buffer instead of having to convert to those types supported by OutputStream.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(org.glassfish.grizzly.Buffer buffer)
    Writes the contents of the specified Buffer.

    Methods inherited from interface org.glassfish.grizzly.OutputSink

    canWrite, canWrite, notifyCanWrite, notifyCanWrite
  • Method Details

    • write

      void write(org.glassfish.grizzly.Buffer buffer) throws IOException
      Writes the contents of the specified Buffer.
      Parameters:
      buffer - the to write
      Throws:
      IOException