类 WebConversionService

所有已实现的接口:
Aware, EmbeddedValueResolverAware, ConversionService, ConverterRegistry, ConfigurableConversionService, FormatterRegistry

public class WebConversionService extends DefaultFormattingConversionService
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.

从以下版本开始:
2.0.0
作者:
Brian Clozel
  • 构造器详细资料

    • WebConversionService

      public WebConversionService(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.
      参数:
      dateTimeFormatters - the formatters to use for date, time, and date-time formatting
      从以下版本开始:
      2.3.0