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.

    @FunctionalInterface
    public interface RestTemplateCustomizer
    Callback interface that can be used to customize a RestTemplate.
    Since:
    1.4.0
    See Also:
    RestTemplateBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidcustomize​(org.springframework.web.client.RestTemplate restTemplate)
      Callback to customize a RestTemplate instance.
    • Method Detail

      • customize

        void customize​(org.springframework.web.client.RestTemplate restTemplate)
        Callback to customize a RestTemplate instance.
        Parameters:
        restTemplate - the template to customize