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.
@FunctionalInterface
@Deprecated(since="4.2.0",
forRemoval=true)
public interface RestTemplateCustomizer
Deprecated, for removal: This API element is subject to removal in a future version.
Callback interface that can be used to customize a
RestTemplate.- Since:
- 4.0.0
- Author:
- Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(RestTemplate restTemplate) Deprecated, for removal: This API element is subject to removal in a future version.Callback to customize aRestTemplateinstance.
-
Method Details
-
customize
Deprecated, for removal: This API element is subject to removal in a future version.Callback to customize aRestTemplateinstance.- Parameters:
restTemplate- the template to customize
-
RestClientCustomizer