|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResumableListener
A listener class that can be used to digest the bytes from an ResumableAsyncHandler
Method Summary | |
---|---|
long |
length()
Return the length of previously downloaded bytes. |
void |
onAllBytesReceived()
Invoked when all the bytes has been sucessfully transferred. |
void |
onBytesReceived(ByteBuffer byteBuffer)
Invoked when some bytes are available to digest. |
Method Detail |
---|
void onBytesReceived(ByteBuffer byteBuffer) throws IOException
byteBuffer
- the current bytes
IOException
void onAllBytesReceived()
long length()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |