public interface AsyncByteBufferFeeder extends AsyncInputFeeder
Modifier and Type | Method and Description |
---|---|
void |
feedInput(ByteBuffer buffer)
Method that can be called to feed more data, if (and only if)
AsyncInputFeeder.needMoreInput() returns true. |
endOfInput, needMoreInput
void feedInput(ByteBuffer buffer) throws XMLStreamException
AsyncInputFeeder.needMoreInput()
returns true.buffer
- Buffer that contains additional input to readXMLStreamException
- 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)Copyright © 2019 FasterXML. All rights reserved.