|
||||||||||
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(java.nio.ByteBuffer byteBuffer)
Consume the received bytes. |
Method Detail |
---|
void consume(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
byteBuffer
- a ByteBuffer
represntation of the response's chunk.
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |