接口 RestTemplateCustomizer
public interface RestTemplateCustomizer
Callback interface that can be used to customize aRestTemplate
.- 从以下版本开始:
- 1.4.0
- 另请参阅:
RestTemplateBuilder
方法详细资料
customize
void customize(org.springframework.web.client.RestTemplate restTemplate)
Callback to customize aRestTemplate
instance.- 参数:
restTemplate
- the template to customize