java.lang.Object | |
↳ | com.ning.http.client.consumers.FileBodyConsumer |
A RandomAccessFile that can be used as a ResumableBodyConsumer
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invoked when all the response bytes has been processed.
| |||||||||||
Consume the received bytes.
| |||||||||||
Get the previously transferred bytes, for example the current file size.
| |||||||||||
Prepare this consumer to resume a download, for example by seeking to the end of the underlying file.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.ning.http.client.BodyConsumer
| |||||||||||
From interface
com.ning.http.client.ResumableBodyConsumer
|
Invoked when all the response bytes has been processed.
IOException |
---|
Consume the received bytes.
byteBuffer | a ByteBuffer represntation of the response's chunk. |
---|
IOException |
---|
Get the previously transferred bytes, for example the current file size.
IOException |
---|
Prepare this consumer to resume a download, for example by seeking to the end of the underlying file.
IOException |
---|