Interface AsyncByteBufferFeeder

    • Method Detail

      • feedInput

        void feedInput​(java.nio.ByteBuffer buffer)
                throws javax.xml.stream.XMLStreamException
        Method that can be called to feed more data, if (and only if) AsyncInputFeeder.needMoreInput() returns true.
        Parameters:
        buffer - Buffer that contains additional input to read
        Throws:
        javax.xml.stream.XMLStreamException - if the state is such that this method should not be called (has not yet consumed existing input data, or has been marked as closed)