public interface AsyncByteBufferFeeder extends AsyncInputFeeder
| Modifier and Type | Method and Description |
|---|---|
void |
feedInput(java.nio.ByteBuffer buffer)
Method that can be called to feed more data, if (and only if)
AsyncInputFeeder.needMoreInput() returns true. |
endOfInput, needMoreInputvoid feedInput(java.nio.ByteBuffer buffer)
throws javax.xml.stream.XMLStreamException
AsyncInputFeeder.needMoreInput() returns true.buffer - Buffer that contains additional input to readjavax.xml.stream.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)