Bael 5884 - correction (#13276)
* BAEL-5884 - URI encoding with Rest Template * BAEL-5884 - URI encoding with Rest Template - indentation corrected * BAEL-5884 - code correction for rest template config
This commit is contained in:
parent
7db81e56ea
commit
7a202296a7
|
@ -13,7 +13,7 @@ public class RestTemplateConfig {
|
|||
RestTemplate restTemplate = new RestTemplate();
|
||||
DefaultUriBuilderFactory defaultUriBuilderFactory = new DefaultUriBuilderFactory();
|
||||
defaultUriBuilderFactory.setEncodingMode(DefaultUriBuilderFactory.EncodingMode.VALUES_ONLY);
|
||||
restTemplate.setUriTemplateHandler(new DefaultUriBuilderFactory());
|
||||
restTemplate.setUriTemplateHandler(defaultUriBuilderFactory);
|
||||
return restTemplate;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue