add bodyEntity
This commit is contained in:
@@ -66,6 +66,18 @@ public class ProgressiveRequest extends FileRequest {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProgressiveRequest body(Object object) {
|
||||
super.body(object);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProgressiveRequest bodyEntity(HttpEntity entity) {
|
||||
super.bodyEntity(entity);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toFile(Path outputPath) throws IOException, NoPermissionException {
|
||||
processResponse(request.execute(), IO.getOutputStream(outputPath.toFile()));
|
||||
|
||||
Reference in New Issue
Block a user