Interface BufferWritableOutputStream

  • All Known Implementing Classes:
    UndertowOutputStream

    public interface BufferWritableOutputStream
    Represents an output stream that can write byte buffers directly.
    Author:
    Stuart Douglas
    • Method Detail

      • write

        void write​(java.nio.ByteBuffer[] buffers)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        void write​(java.nio.ByteBuffer byteBuffer)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • transferFrom

        void transferFrom​(java.nio.channels.FileChannel source)
                   throws java.io.IOException
        Throws:
        java.io.IOException