public final class DefaultStreamWriter extends AbstractStreamWriter
Modifier and Type | Class and Description |
---|---|
static class |
DefaultStreamWriter.Output |
AbstractStreamWriter.DisposeBufferCompletionHandler
isOutputBuffered, logger, output, ZERO, ZERO_READY_FUTURE
Constructor and Description |
---|
DefaultStreamWriter(Connection connection) |
Modifier and Type | Method and Description |
---|---|
GrizzlyFuture<Integer> |
flush(CompletionHandler<Integer> completionHandler)
Cause the overflow handler to be called even if buffer is not full.
|
close, close, encode, encode, flush, getConnection, getTimeout, isClosed, setTimeout, writeBoolean, writeBooleanArray, writeBuffer, writeByte, writeByteArray, writeByteArray, writeChar, writeCharArray, writeDouble, writeDoubleArray, writeFloat, writeFloatArray, writeInt, writeIntArray, writeLong, writeLongArray, writeShort, writeShortArray
public DefaultStreamWriter(Connection connection)
public GrizzlyFuture<Integer> flush(CompletionHandler<Integer> completionHandler) throws IOException
AbstractStreamWriter
flush
in interface StreamWriter
flush
in class AbstractStreamWriter
IOException
Copyright © 2015 Oracle Corporation. All rights reserved.