Package io.undertow.io
Interface BufferWritableOutputStream
-
- All Known Implementing Classes:
UndertowOutputStream
public interface BufferWritableOutputStream
Represents an output stream that can write byte buffers directly.- Author:
- Stuart Douglas
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
transferFrom(java.nio.channels.FileChannel source)
void
write(java.nio.ByteBuffer byteBuffer)
void
write(java.nio.ByteBuffer[] buffers)
-
-
-
Method Detail
-
write
void write(java.nio.ByteBuffer[] buffers) throws java.io.IOException
- Throws:
java.io.IOException
-
write
void write(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
- Throws:
java.io.IOException
-
transferFrom
void transferFrom(java.nio.channels.FileChannel source) throws java.io.IOException
- Throws:
java.io.IOException
-
-