@FunctionalInterface public interface RestTemplateCustomizer
RestTemplate
. Beans
implementing this interface are applied to
RestTemplateBuilder
.RestTemplateBuilder.customizers(RestTemplateCustomizer...)
Modifier and Type | Method and Description |
---|---|
void |
customize(RestTemplate restTemplate)
Callback to customize a
RestTemplate instance. |
void customize(RestTemplate restTemplate)
RestTemplate
instance.restTemplate
- the template to customize.Copyright © 2016–2021 Pivotal Software, Inc.. All rights reserved.