public interface BodyConsumer extends Closeable
SimpleAsyncHttpClient class in order to process response's bytes.| Modifier and Type | Method and Description |
|---|---|
void |
consume(ByteBuffer byteBuffer)
Consume the received bytes.
|
void consume(ByteBuffer byteBuffer) throws IOException
byteBuffer - a ByteBuffer represntation of the response's chunk.IOExceptionCopyright © 2022. All Rights Reserved.