|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BodyConsumer
A simple API to be used with the SimpleAsyncHttpClient class in order to process response's bytes.
| Method Summary | |
|---|---|
void |
close()
Invoked when all the response bytes has been processed. |
void |
consume(ByteBuffer byteBuffer)
Consume the received bytes. |
| Method Detail |
|---|
void consume(ByteBuffer byteBuffer)
throws IOException
byteBuffer - a ByteBuffer represntation of the response's chunk.
IOException
void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||