Package com.fasterxml.aalto
Interface AsyncByteBufferFeeder
-
- All Superinterfaces:
AsyncInputFeeder
- All Known Implementing Classes:
AsyncByteBufferScanner
public interface AsyncByteBufferFeeder extends AsyncInputFeeder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
feedInput(java.nio.ByteBuffer buffer)
Method that can be called to feed more data, if (and only if)AsyncInputFeeder.needMoreInput()
returns true.-
Methods inherited from interface com.fasterxml.aalto.AsyncInputFeeder
endOfInput, needMoreInput
-
-
-
-
Method Detail
-
feedInput
void feedInput(java.nio.ByteBuffer buffer) throws javax.xml.stream.XMLStreamException
Method that can be called to feed more data, if (and only if)AsyncInputFeeder.needMoreInput()
returns true.- Parameters:
buffer
- Buffer that contains additional input to read- Throws:
javax.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)
-
-