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.IOExceptionvoid close()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.