java.lang.Object |
↳ |
com.ning.http.client.consumers.ByteBufferBodyConsumer |
Summary
Public Methods |
void
|
close()
Invoked when all the response bytes has been processed.
|
void
|
consume(ByteBuffer byteBuffer)
Consume the received bytes.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
From interface
com.ning.http.client.BodyConsumer
abstract
void
|
close()
Invoked when all the response bytes has been processed.
|
abstract
void
|
consume(ByteBuffer byteBuffer)
Consume the received bytes.
|
|
Public Constructors
public
ByteBufferBodyConsumer
(ByteBuffer byteBuffer)
Public Methods
public
void
close
()
Invoked when all the response bytes has been processed.
public
void
consume
(ByteBuffer byteBuffer)
Consume the received bytes.
Parameters
byteBuffer
| a ByteBuffer represntation of the response's chunk. |