Top Description Methods
com.fasterxml.jackson.core.async

public Interface ByteBufferFeeder

extends NonBlockingInputFeeder
Known Direct Implementers
com.fasterxml.jackson.core.json.async.NonBlockingByteBufferJsonParser
Imports
java.io.IOException, java.nio.ByteBuffer

NonBlockingInputFeeder implementation used when feeding data as ByteBuffer contents.
Since
2.9

Method Summary

Modifier and TypeMethod and Description
public void
feedInput(ByteBuffer
Buffer that contains additional input to read
buffer
)

Method that can be called to feed more data, if (and only if) NonBlockingInputFeeder#needMoreInput returns true.

Inherited from com.fasterxml.jackson.core.async.NonBlockingInputFeeder:
endOfInputneedMoreInput

Method Detail

feedInputback to summary
public void feedInput(ByteBuffer buffer) throws IOException

Method that can be called to feed more data, if (and only if) NonBlockingInputFeeder#needMoreInput returns true.

Parameters
buffer:ByteBuffer

Buffer that contains additional input to read

Exceptions
IOException:
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)