public interface ResumableBodyConsumer extends BodyConsumer
| Modifier and Type | Method and Description |
|---|---|
long |
getTransferredBytes()
Get the previously transferred bytes, for example the current file size.
|
void |
resume()
Prepare this consumer to resume a download, for example by seeking to the end of the underlying file.
|
close, consumevoid resume()
throws IOException
IOExceptionlong getTransferredBytes()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.