public interface ResumableListener
ResumableAsyncHandler
Modifier and Type | Method and Description |
---|---|
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.
|
void onBytesReceived(ByteBuffer byteBuffer) throws IOException
byteBuffer
- the current bytesIOException
void onAllBytesReceived()
long length()
Copyright © 2014. All Rights Reserved.