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.IOException
Copyright © 2015. All Rights Reserved.