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(java.nio.ByteBuffer byteBuffer)
Invoked when some bytes are available to digest.
|
void onBytesReceived(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
byteBuffer
- the current bytesjava.io.IOException
- exception while writing the byteBuffervoid onAllBytesReceived()
long length()
Copyright © 2018. All Rights Reserved.