Interface WebClientCustomizer

All Known Implementing Classes:
ObservationWebClientCustomizer, WebClientCodecCustomizer
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
Author:
Brian Clozel
  • Method Details

    • customize

      void customize(WebClient.Builder webClientBuilder)
      Callback to customize a WebClient.Builder instance.
      Parameters:
      webClientBuilder - the client builder to customize