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, consume
void resume() throws IOException
IOException
long getTransferredBytes() throws IOException
IOException
Copyright © 2015. All rights reserved.