org.glassfish.grizzly.nio.transport
Class DefaultStreamWriter.Output
java.lang.Object
org.glassfish.grizzly.streams.BufferedOutput
org.glassfish.grizzly.nio.transport.DefaultStreamWriter.Output
- All Implemented Interfaces:
- Output
- Enclosing class:
- DefaultStreamWriter
public static final class DefaultStreamWriter.Output
- extends BufferedOutput
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStreamWriter.Output
public DefaultStreamWriter.Output(Connection connection)
flush0
protected GrizzlyFuture<Integer> flush0(Buffer buffer,
CompletionHandler<Integer> completionHandler)
throws IOException
- Specified by:
flush0 in class BufferedOutput
- Throws:
IOException
newBuffer
protected Buffer newBuffer(int size)
- Specified by:
newBuffer in class BufferedOutput
reallocateBuffer
protected Buffer reallocateBuffer(Buffer oldBuffer,
int size)
- Specified by:
reallocateBuffer in class BufferedOutput
onClosed
protected void onClosed()
throws IOException
- Specified by:
onClosed in class BufferedOutput
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.