Interface RestTemplateCustomizer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated(since="4.1") @FunctionalInterface public interface RestTemplateCustomizer
Deprecated.
since 4.1, use VaultClientCustomizer (preferred) or RestClientCustomizer for low-level RestClient customization instead.
Callback interface that can be used to customize a RestTemplate. Beans implementing this interface are applied to RestTemplateBuilder.
Since:
2.2
Author:
Mark Paluch
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(RestTemplate restTemplate)
    Deprecated.
    Callback to customize a RestTemplate instance.
  • Method Details

    • customize

      void customize(RestTemplate restTemplate)
      Deprecated.
      Callback to customize a RestTemplate instance.
      Parameters:
      restTemplate - the template to customize.