# Uses of Interface
org.springframework.http.codec.CodecConfigurer.DefaultCodecConfig

Packages that use CodecConfigurer.DefaultCodecConfig
Package
Description
org.springframework.http.codec
Provides implementations of `Encoder` and `Decoder` for web use.

## Uses of CodecConfigurer.DefaultCodecConfig in org.springframework.http.codec

Method parameters in org.springframework.http.codec with type arguments of type CodecConfigurer.DefaultCodecConfig
Modifier and Type
Method
Description
`void`
CodecConfigurer.CustomCodecs.`registerWithDefaultConfig(Object codec, Consumer<CodecConfigurer.DefaultCodecConfig> configConsumer)`
Variant of `CodecConfigurer.CustomCodecs.register(Object)` that also allows the caller to apply the properties from `CodecConfigurer.DefaultCodecConfig` to the given codec.
`void`
CodecConfigurer.CustomCodecs.`withDefaultCodecConfig(Consumer<CodecConfigurer.DefaultCodecConfig> codecsConfigConsumer)`
Deprecated.
as of 5.1.13, use `CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)` or `CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object, Consumer)` instead.