public final class FileBodyGenerator extends Object implements BodyGenerator
| Constructor and Description |
|---|
FileBodyGenerator(File file) |
FileBodyGenerator(File file,
long regionSeek,
long regionLength) |
| Modifier and Type | Method and Description |
|---|---|
RandomAccessBody |
createBody()
Creates a new instance of the request body to be read.
|
File |
getFile() |
long |
getRegionLength() |
long |
getRegionSeek() |
public FileBodyGenerator(File file)
public FileBodyGenerator(File file, long regionSeek, long regionLength)
public File getFile()
public long getRegionLength()
public long getRegionSeek()
public RandomAccessBody createBody()
createBody in interface BodyGeneratornull.Copyright © 2016. All Rights Reserved.