public class ChannelUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_READ_BUF_SIZE |
| Constructor and Description |
|---|
ChannelUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
flush(org.xnio.channels.StreamSinkChannel channel) |
static void |
write(WritableByteChannel channel,
ByteBuffer bbuf) |
public static final int DEFAULT_READ_BUF_SIZE
public static void flush(org.xnio.channels.StreamSinkChannel channel)
throws IOException
IOExceptionpublic static void write(WritableByteChannel channel, ByteBuffer bbuf) throws IOException
IOExceptionCopyright © 2011-2018-2019. All Rights Reserved.