public final class DefaultStreamWriter extends AbstractStreamWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultStreamWriter.Output |
AbstractStreamWriter.DisposeBufferCompletionHandlerisOutputBuffered, 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, writeShortArraypublic DefaultStreamWriter(Connection connection)
public GrizzlyFuture<Integer> flush(CompletionHandler<Integer> completionHandler) throws IOException
AbstractStreamWriterflush in interface StreamWriterflush in class AbstractStreamWriterIOExceptionCopyright © 2016 Oracle Corporation. All Rights Reserved.