public interface HttpFileService
Modifier and Type | Method and Description |
---|---|
void |
downloadFile(String url,
File tempZipFile,
boolean overwrite,
int timeoutInMilliseconds) |
Future<File> |
downloadFileAsync(String url,
File tempZipFile,
AsyncCallback<File> callback,
int timeoutInMilliseconds) |
void |
uploadFile(URI uri,
File uploadFilePath,
Consumer<org.apache.http.HttpRequest> addHeaders,
int timeoutInMilliseconds) |
void downloadFile(String url, File tempZipFile, boolean overwrite, int timeoutInMilliseconds) throws IOException, URISyntaxException
IOException
URISyntaxException
void uploadFile(URI uri, File uploadFilePath, Consumer<org.apache.http.HttpRequest> addHeaders, int timeoutInMilliseconds)
Copyright © 2024. All rights reserved.