java.lang.Object |
↳ |
com.ning.http.client.consumers.AppendableBodyConsumer |
Class Overview
An Appendable customer for ByteBuffer
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
AppendableBodyConsumer
(Appendable appendable)
public
AppendableBodyConsumer
(Appendable appendable, String encoding)
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. |