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
IOExceptionvoid write(Buffer buffer) throws IOException
IOExceptionboolean isBuffered()
void ensureBufferCapacity(int size)
throws IOException
IOExceptionGrizzlyFuture<Integer> flush(CompletionHandler<Integer> completionHandler) throws IOException
IOExceptionGrizzlyFuture<Integer> close(CompletionHandler<Integer> completionHandler) throws IOException
StreamWriter and make sure all data was flushed.IOExceptionCopyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.