Interface AsyncByteBufferFeeder

All Superinterfaces:
AsyncInputFeeder
All Known Implementing Classes:
AsyncByteBufferScanner

public interface AsyncByteBufferFeeder extends AsyncInputFeeder
  • Method Details

    • feedInput

      void feedInput(ByteBuffer buffer) throws 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:
      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)