Interface RestTemplateCustomizer
- All Known Implementing Classes:
MetricsRestTemplateCustomizer
,MockServerRestTemplateCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface that can be used to customize a
RestTemplate
.- Since:
- 1.4.0
- Author:
- Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(RestTemplate restTemplate) Callback to customize aRestTemplate
instance.
-
Method Details
-
customize
Callback to customize aRestTemplate
instance.- Parameters:
restTemplate
- the template to customize
-