Interface RestTemplateCustomizer
- All Known Implementing Classes:
MockServerRestTemplateCustomizer,ObservationRestTemplateCustomizer
- 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 TypeMethodDescriptionvoidcustomize(RestTemplate restTemplate) Callback to customize aRestTemplateinstance.
-
Method Details
-
customize
Callback to customize aRestTemplateinstance.- Parameters:
restTemplate- the template to customize
-