configure

open fun configure(registry: FormatterRegistry)

Configure the given FormatterRegistry with formatters and converters appropriate for most Spring Boot applications.

Parameters

registry

the registry of converters to add to (must also be castable toConversionService, e.g. being a ConfigurableConversionService)

Throws

if the given FormatterRegistry could not be cast to aConversionService