Package com.ning.http.client
Interface ResumableBodyConsumer
- All Superinterfaces:
AutoCloseable,BodyConsumer,Closeable
- All Known Implementing Classes:
FileBodyConsumer
- Author:
- Benjamin Hanzelmann
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the previously transferred bytes, for example the current file size.voidresume()Prepare this consumer to resume a download, for example by seeking to the end of the underlying file.Methods inherited from interface com.ning.http.client.BodyConsumer
consume
-
Method Details
-
resume
Prepare this consumer to resume a download, for example by seeking to the end of the underlying file.- Throws:
IOException
-
getTransferredBytes
Get the previously transferred bytes, for example the current file size.- Throws:
IOException
-