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 representation of the response's chunk.IOException - IO exceptionCopyright © 2021. All rights reserved.