public interface Output
| Modifier and Type | Method and Description |
|---|---|
GrizzlyFuture<java.lang.Integer> |
close(CompletionHandler<java.lang.Integer> completionHandler)
Close the
StreamWriter and make sure all data was flushed. |
void |
ensureBufferCapacity(int size) |
GrizzlyFuture<java.lang.Integer> |
flush(CompletionHandler<java.lang.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 java.io.IOException
java.io.IOExceptionvoid write(Buffer buffer) throws java.io.IOException
java.io.IOExceptionboolean isBuffered()
void ensureBufferCapacity(int size)
throws java.io.IOException
java.io.IOExceptionGrizzlyFuture<java.lang.Integer> flush(CompletionHandler<java.lang.Integer> completionHandler) throws java.io.IOException
java.io.IOExceptionGrizzlyFuture<java.lang.Integer> close(CompletionHandler<java.lang.Integer> completionHandler) throws java.io.IOException
StreamWriter and make sure all data was flushed.java.io.IOExceptionCopyright © 2018 Oracle Corporation. All Rights Reserved.