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