spring-framework / org.springframework.web.server.adapter / HttpWebHandlerAdapter / setCodecConfigurer

setCodecConfigurer

open fun setCodecConfigurer(codecConfigurer: ServerCodecConfigurer): Unit

Configure a custom ServerCodecConfigurer. The provided instance is set on each created DefaultServerWebExchange.

By default this is set to ServerCodecConfigurer#create().

Parameters

codecConfigurer - the codec configurer to use