Interface ByteBufferFeeder

All Superinterfaces:
NonBlockingInputFeeder
All Known Implementing Classes:
NonBlockingByteBufferJsonParser

public interface ByteBufferFeeder extends NonBlockingInputFeeder
NonBlockingInputFeeder implementation used when feeding data as ByteBuffer contents.
  • Method Details

    • feedInput

      void feedInput(ByteBuffer buffer) throws JacksonException
      Method that can be called to feed more data, if (and only if) NonBlockingInputFeeder.needMoreInput() returns true.
      Parameters:
      buffer - Buffer that contains additional input to read
      Throws:
      JacksonException - 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)