Created
March 15, 2020 12:28
-
-
Save igorstojanovski/1d319a7b4c5438f58ce220bede6332f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String fileDownloadUri = ServletUriComponentsBuilder.fromCurrentContextPath() | |
.path("/downloadFile/") | |
.path(productImage.getPath()) | |
.toUriString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment