Package com.fasterxml.jackson.core.async
Interface ByteBufferFeeder
-
- All Superinterfaces:
NonBlockingInputFeeder
public interface ByteBufferFeeder extends NonBlockingInputFeeder
NonBlockingInputFeeder
implementation used when feeding data asByteBuffer
contents.- Since:
- 2.9
-
-
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)NonBlockingInputFeeder.needMoreInput()
returns true.-
Methods inherited from interface com.fasterxml.jackson.core.async.NonBlockingInputFeeder
endOfInput, needMoreInput
-
-
-
-
Method Detail
-
feedInput
void feedInput(java.nio.ByteBuffer buffer) throws java.io.IOException
Method that can be called to feed more data, if (and only if)NonBlockingInputFeeder.needMoreInput()
returns true.- Parameters:
buffer
- Buffer that contains additional input to read- Throws:
java.io.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)
-
-