Is there a String bulder for URL's similar the UriComponentsBuilder? Because the blanks in my URL-String are replaced with %20
.
UriComponentsBuilder builder = UriComponentsBuilder
.fromPath("/test")
.queryParam("param", "param 1");
String urlWithParams = builder.build().encode().toUriString();
The Result of urlWithParams is /test?param=param%201
but I need /test?param=param 1
My current workaround is urlWithParams.replace("%20", " ");