public static final class DefaultStreamWriter.Output extends BufferedOutput
bufferSize, isClosed, multiBufferWindow, ZERO, ZERO_READY_FUTURE
Constructor and Description |
---|
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, write
public Output(Connection connection)
protected GrizzlyFuture<Integer> flush0(Buffer buffer, CompletionHandler<Integer> completionHandler) throws IOException
flush0
in class BufferedOutput
IOException
protected Buffer newBuffer(int size)
newBuffer
in class BufferedOutput
protected Buffer reallocateBuffer(Buffer oldBuffer, int size)
reallocateBuffer
in class BufferedOutput
protected void onClosed() throws IOException
onClosed
in class BufferedOutput
IOException
Copyright © 2015 Oracle Corporation. All rights reserved.