public interface DownloadService
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
downloadFile(UriComponents uriComponents)
Downloads a file using the parameters within the
UriComponents. |
java.io.InputStream downloadFile(UriComponents uriComponents)
UriComponents.
Rather than passing the full url to the function, the details are separated
so the URI can parse the special characters in the path properly.
uriComponents - component that has all the details to download a fileInputStream based on whether the download was successful or not