| com.ning.http.client.BodyConsumer |
Known Indirect Subclasses
|
Class Overview
A simple API to be used with the SimpleAsyncHttpClient class in order to process response's bytes.
Summary
| Public Methods |
|
abstract
void
|
close()
Invoked when all the response bytes has been processed.
|
|
abstract
void
|
consume(ByteBuffer byteBuffer)
Consume the received bytes.
|
Public Methods
public
abstract
void
close
()
Invoked when all the response bytes has been processed.
public
abstract
void
consume
(ByteBuffer byteBuffer)
Consume the received bytes.
Parameters
| byteBuffer
| a ByteBuffer represntation of the response's chunk. |