public final class OutputWriter extends Object
ByteBuffer| Constructor and Description |
|---|
OutputWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
flushChannel(SocketChannel socketChannel,
ByteBuffer bb)
Flush the buffer by looping until the
ByteBuffer is empty |
static void |
flushChannel(SocketChannel socketChannel,
ByteBuffer[] bb)
Flush the buffer by looping until the
ByteBuffer is empty |
public static void flushChannel(SocketChannel socketChannel, ByteBuffer bb) throws IOException
ByteBuffer is emptybb - the ByteBuffer to write.IOExceptionpublic static void flushChannel(SocketChannel socketChannel, ByteBuffer[] bb) throws IOException
ByteBuffer is emptybb - the ByteBuffer to write.IOExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.