public static final class DefaultStreamWriter.Output extends BufferedOutput
bufferSize, isClosed, multiBufferWindow, ZERO, ZERO_READY_FUTURE| Constructor and Description |
|---|
DefaultStreamWriter.Output(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected GrizzlyFuture<Integer> |
flush0(Buffer buffer,
CompletionHandler<Integer> completionHandler) |
protected Buffer |
newBuffer(int size) |
protected void |
onClosed() |
protected Buffer |
reallocateBuffer(Buffer oldBuffer,
int size) |
close, ensureBufferCapacity, flush, getBuffer, getBufferedSize, isBuffered, write, writepublic DefaultStreamWriter.Output(Connection connection)
protected GrizzlyFuture<Integer> flush0(Buffer buffer, CompletionHandler<Integer> completionHandler) throws IOException
flush0 in class BufferedOutputIOExceptionprotected Buffer newBuffer(int size)
newBuffer in class BufferedOutputprotected Buffer reallocateBuffer(Buffer oldBuffer, int size)
reallocateBuffer in class BufferedOutputprotected void onClosed()
throws IOException
onClosed in class BufferedOutputIOExceptionCopyright © 2013 Oracle Corporation. All Rights Reserved.