Top Methods
com.fasterxml.aalto

public Interface AsyncByteBufferFeeder

extends AsyncInputFeeder
Known Direct Implementers
com.fasterxml.aalto.async.AsyncByteBufferScanner
Imports
java.nio.ByteBuffer, javax.xml.stream.XMLStreamException

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) AsyncInputFeeder#needMoreInput returns true.

Inherited from com.fasterxml.aalto.AsyncInputFeeder:
endOfInputneedMoreInput

Method Detail

feedInputback to summary
public 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:ByteBuffer

Buffer that contains additional input to read

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