クラス WebConversionService
java.lang.ObjectSE
org.springframework.core.convert.support.GenericConversionService
org.springframework.format.support.FormattingConversionService
org.springframework.format.support.DefaultFormattingConversionService
org.springframework.boot.autoconfigure.web.format.WebConversionService
- 実装されているすべてのインターフェース:
Aware、EmbeddedValueResolverAware、ConversionService、ConverterRegistry、ConfigurableConversionService、FormatterRegistry
FormattingConversionService は、Web との間で値をフォーマットおよび変換するための Web アプリケーション専用です。 このサービスは、@EnableWebMvc および @EnableWebFlux によって提供されるデフォルトの実装を置き換えます。
- 導入:
- 2.0.0
- 作成者:
- Brian Clozel
コンストラクターの概要
コンストラクターコンストラクター説明WebConversionService(DateTimeFormatters dateTimeFormatters) 提供された日付、時刻、日時形式でフォーマッターを構成する新しい WebConversionService を作成するか、カスタム形式が提供されていない場合はデフォルトを登録します。メソッドのサマリー
クラス org.springframework.format.support.DefaultFormattingConversionService から継承されたメソッド
addDefaultFormattersクラス org.springframework.format.support.FormattingConversionService から継承されたメソッド
addFormatter, addFormatterForFieldAnnotation, addFormatterForFieldType, addFormatterForFieldType, addParser, addPrinter, setEmbeddedValueResolverクラス org.springframework.core.convert.support.GenericConversionService から継承されたメソッド
addConverter, addConverter, addConverter, addConverterFactory, canBypassConvert, canConvert, canConvert, convert, convert, convertNullSource, getConverter, getDefaultConverter, removeConvertible, toStringクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.core.convert.ConversionService から継承されたメソッド
convertインターフェース org.springframework.core.convert.converter.ConverterRegistry から継承されたメソッド
addConverter, addConverter, addConverter, addConverterFactory, removeConvertible
コンストラクターの詳細
WebConversionService
提供された日付、時刻、日時形式でフォーマッターを構成する新しい WebConversionService を作成するか、カスタム形式が提供されていない場合はデフォルトを登録します。- パラメーター:
dateTimeFormatters- 日付、時刻、日時フォーマットに使用するフォーマッター- 導入:
- 2.3.0