Interface RestTemplateRequestCustomizer<T extends org.springframework.http.client.ClientHttpRequest>

Type Parameters:
T - the ClientHttpRequest type
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 RestTemplateRequestCustomizer<T extends org.springframework.http.client.ClientHttpRequest>
Callback interface that can be used to customize the ClientHttpRequest sent from a RestTemplate.
Since:
2.2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(T request)
    Customize the specified ClientHttpRequest.
  • Method Details

    • customize

      void customize(T request)
      Customize the specified ClientHttpRequest.
      Parameters:
      request - the request to customize