接口的使用
org.springframework.http.codec.ClientCodecConfigurer
使用ClientCodecConfigurer的程序包 程序包 说明 org.springframework.http.codec org.springframework.http.codec.support Provides implementations ofClientCodecConfigurerandServerCodecConfigurerbased on the converter implementations fromorg.springframework.http.codec.jsonand co.org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.org.springframework.web.reactive.function.client Provides a reactiveWebClientthat builds on top of theorg.springframework.http.client.reactivereactive HTTP adapter layer.org.springframework.http.codec中ClientCodecConfigurer的使用
返回ClientCodecConfigurer的org.springframework.http.codec中的方法 修饰符和类型 方法 说明 ClientCodecConfigurerClientCodecConfigurer. clone()Create a copy of thisCodecConfigurer.static ClientCodecConfigurerClientCodecConfigurer. create()Static factory method for aClientCodecConfigurer.org.springframework.http.codec.support中ClientCodecConfigurer的使用
实现ClientCodecConfigurer的org.springframework.http.codec.support中的类 修饰符和类型 类 说明 classDefaultClientCodecConfigurerDefault implementation ofClientCodecConfigurer.org.springframework.test.web.reactive.server中ClientCodecConfigurer的使用
类型变量类型为ClientCodecConfigurer的org.springframework.test.web.reactive.server中的方法参数 修饰符和类型 方法 说明 WebTestClient.BuilderWebTestClient.Builder. codecs(Consumer<ClientCodecConfigurer> configurer)org.springframework.web.reactive.function.client中ClientCodecConfigurer的使用
类型变量类型为ClientCodecConfigurer的org.springframework.web.reactive.function.client中的方法参数 修饰符和类型 方法 说明 ExchangeStrategies.BuilderExchangeStrategies.Builder. codecs(Consumer<ClientCodecConfigurer> consumer)Customize the list of client-side HTTP message readers and writers.WebClient.BuilderWebClient.Builder. codecs(Consumer<ClientCodecConfigurer> configurer)