public interface Output
Modifier and Type | Method and Description |
---|---|
GrizzlyFuture<Integer> |
close(CompletionHandler<Integer> completionHandler)
Close the
StreamWriter and make sure all data was flushed. |
void |
ensureBufferCapacity(int size) |
GrizzlyFuture<Integer> |
flush(CompletionHandler<Integer> completionHandler)
Make sure that all data that has been written is
flushed from the stream to its destination.
|
Buffer |
getBuffer()
Return the Input's
Buffer . |
boolean |
isBuffered() |
void |
write(Buffer buffer) |
void |
write(byte data) |
void write(byte data) throws IOException
IOException
void write(Buffer buffer) throws IOException
IOException
boolean isBuffered()
void ensureBufferCapacity(int size) throws IOException
IOException
GrizzlyFuture<Integer> flush(CompletionHandler<Integer> completionHandler) throws IOException
IOException
GrizzlyFuture<Integer> close(CompletionHandler<Integer> completionHandler) throws IOException
StreamWriter
and make sure all data was flushed.IOException
Copyright © 2014 Oracle Corporation. All rights reserved.