Class WebClientCodecCustomizer

java.lang.Object
org.springframework.boot.webclient.autoconfigure.WebClientCodecCustomizer
All Implemented Interfaces:
WebClientCustomizer

public class WebClientCodecCustomizer extends Object implements WebClientCustomizer
WebClientCustomizer that configures codecs for the HTTP client.
Since:
4.0.0
  • Constructor Details

    • WebClientCodecCustomizer

      public WebClientCodecCustomizer(List<org.springframework.boot.http.codec.CodecCustomizer> codecCustomizers)
  • Method Details

    • customize

      public void customize(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder)
      Description copied from interface: WebClientCustomizer
      Callback to customize a WebClient.Builder instance.
      Specified by:
      customize in interface WebClientCustomizer
      Parameters:
      webClientBuilder - the client builder to customize