Module org.glassfish.grizzly.http
Package org.glassfish.grizzly.http.io
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 TypeMethodDescriptionvoidwrite(org.glassfish.grizzly.Buffer buffer) Writes the contents of the specifiedBuffer.Methods inherited from interface org.glassfish.grizzly.OutputSink
canWrite, canWrite, notifyCanWrite, notifyCanWrite
-
Method Details
-
write
Writes the contents of the specifiedBuffer.- Parameters:
buffer- theto write- Throws:
IOException
-