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<java.lang.Integer> |
flush(CompletionHandler<java.lang.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<java.lang.Integer> flush(CompletionHandler<java.lang.Integer> completionHandler) throws java.io.IOException
AbstractStreamWriterflush in interface StreamWriterflush in class AbstractStreamWriterjava.io.IOExceptionCopyright © 2013 Oracle Corporation. All Rights Reserved.