|
|
@ -5483,7 +5483,7 @@ The following code shows a typical example:
|
|
|
|
|
|
|
|
|
|
|
|
private final RestTemplate restTemplate;
|
|
|
|
private final RestTemplate restTemplate;
|
|
|
|
|
|
|
|
|
|
|
|
public MyBean(RestTemplateBuilder restTemplateBuilder) {
|
|
|
|
public MyService(RestTemplateBuilder restTemplateBuilder) {
|
|
|
|
this.restTemplate = restTemplateBuilder.build();
|
|
|
|
this.restTemplate = restTemplateBuilder.build();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|