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.OutputSinkAdds the ability for binary basedOutputSinks to write aBufferinstead of having to convert to those types supported byOutputStream.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(org.glassfish.grizzly.Buffer buffer)Writes the contents of the specifiedBuffer.
-
-
-
Method Detail
-
write
void write(org.glassfish.grizzly.Buffer buffer) throws IOExceptionWrites the contents of the specifiedBuffer.- Parameters:
buffer- theto write- Throws:
IOException
-
-