Class WebConversionService
java.lang.Object
org.springframework.core.convert.support.GenericConversionService
org.springframework.format.support.FormattingConversionService
org.springframework.format.support.DefaultFormattingConversionService
org.springframework.boot.autoconfigure.web.format.WebConversionService
- All Implemented Interfaces:
- Aware,- EmbeddedValueResolverAware,- ConversionService,- ConverterRegistry,- ConfigurableConversionService,- FormatterRegistry
FormattingConversionService dedicated to web
 applications for formatting and converting values to/from the web.
 
 This service replaces the default implementations provided by
 @EnableWebMvc
 and @EnableWebFlux.
- Since:
- 2.0.0
- Author:
- Brian Clozel
- 
Constructor SummaryConstructorsConstructorDescriptionWebConversionService(DateTimeFormatters dateTimeFormatters) Create a new WebConversionService that configures formatters with the provided date, time, and date-time formats, or registers the default if no custom format is provided.
- 
Method SummaryMethods inherited from class org.springframework.format.support.DefaultFormattingConversionServiceaddDefaultFormattersMethods inherited from class org.springframework.format.support.FormattingConversionServiceaddFormatter, addFormatterForFieldAnnotation, addFormatterForFieldType, addFormatterForFieldType, addParser, addPrinter, setEmbeddedValueResolverMethods inherited from class org.springframework.core.convert.support.GenericConversionServiceaddConverter, addConverter, addConverter, addConverterFactory, canBypassConvert, canConvert, canConvert, convert, convert, convertNullSource, getConverter, getDefaultConverter, removeConvertible, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.core.convert.ConversionServiceconvertMethods inherited from interface org.springframework.core.convert.converter.ConverterRegistryaddConverter, addConverter, addConverter, addConverterFactory, removeConvertible
- 
Constructor Details- 
WebConversionServiceCreate a new WebConversionService that configures formatters with the provided date, time, and date-time formats, or registers the default if no custom format is provided.- Parameters:
- dateTimeFormatters- the formatters to use for date, time, and date-time formatting
- Since:
- 2.3.0
 
 
-