mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
@@ -5483,7 +5483,7 @@ The following code shows a typical example:
|
||||
|
||||
private final RestTemplate restTemplate;
|
||||
|
||||
public MyBean(RestTemplateBuilder restTemplateBuilder) {
|
||||
public MyService(RestTemplateBuilder restTemplateBuilder) {
|
||||
this.restTemplate = restTemplateBuilder.build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user