SyntaxFix
Write A Post
Hire A Developer
Questions
Using Spring's UriComponentsBuilder:
UriComponentsBuilder .fromUriString(url) .build() .encode() .toUri()