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.
since 4.2.0 for removal in 4.4.0 in favor of RestClientCustomizer
Callback interface that can be used to customize a RestTemplate.
Since:
4.0.0
Author:
Phillip Webb
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(RestTemplate restTemplate)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Callback to customize a RestTemplate instance.
  • Method Details

    • customize

      void customize(RestTemplate restTemplate)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Callback to customize a RestTemplate instance.
      Parameters:
      restTemplate - the template to customize