org.springframework.boot.web.reactive.function.client

Interface WebClientCustomizer

  • 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 WebClientCustomizer
    Callback interface that can be used to customize a WebClient.Builder.
    Since:
    2.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void customize(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder)
      Callback to customize a WebClient.Builder instance.
    • Method Detail

      • customize

        void customize(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder)
        Callback to customize a WebClient.Builder instance.
        Parameters:
        webClientBuilder - the client builder to customize