public interface BodyConsumer
SimpleAsyncHttpClient
class in order to process response's bytes.Modifier and Type | Method and Description |
---|---|
void |
close()
Invoked when all the response bytes has been processed.
|
void |
consume(ByteBuffer byteBuffer)
Consume the received bytes.
|
void consume(ByteBuffer byteBuffer) throws IOException
byteBuffer
- a ByteBuffer
represntation of the response's chunk.IOException
void close() throws IOException
IOException
Copyright © 2015. All rights reserved.