Class WebClientCodecCustomizer
java.lang.Object
org.springframework.boot.webclient.autoconfigure.WebClientCodecCustomizer
- All Implemented Interfaces:
WebClientCustomizer
WebClientCustomizer that configures codecs for the HTTP client.- Since:
- 4.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionWebClientCodecCustomizer(List<org.springframework.boot.http.codec.CodecCustomizer> codecCustomizers) -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder) Callback to customize aWebClient.Builderinstance.
-
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:WebClientCustomizerCallback to customize aWebClient.Builderinstance.- Specified by:
customizein interfaceWebClientCustomizer- Parameters:
webClientBuilder- the client builder to customize
-