Interface Output

    • Method Detail

      • write

        void write​(byte data)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        void write​(Buffer buffer)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • isBuffered

        boolean isBuffered()
      • ensureBufferCapacity

        void ensureBufferCapacity​(int size)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • flush

        GrizzlyFuture<java.lang.Integer> flush​(CompletionHandler<java.lang.Integer> completionHandler)
                                        throws java.io.IOException
        Make sure that all data that has been written is flushed from the stream to its destination.
        Throws:
        java.io.IOException
      • close

        GrizzlyFuture<java.lang.Integer> close​(CompletionHandler<java.lang.Integer> completionHandler)
                                        throws java.io.IOException
        Close the StreamWriter and make sure all data was flushed.
        Throws:
        java.io.IOException