インターフェースの使用
org.springframework.core.convert.ConversionService
パッケージ
説明
このパッケージには、Java Bean を操作するためのインターフェースとクラスが含まれています。
Bean ファクトリの SPI インターフェースおよび構成関連の便利なクラス。
org.springframework.beans.factory
パッケージをサポートするクラス。ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。
型変換システムのコンバーターを実装する SPI。
型変換システムのデフォルト実装。
さまざまなコア抽象化のための SpEL のデフォルト実装。
フォーマットパッケージのクラスをサポートし、一般的な実装とアダプターを提供します。
HttpMessageConverter 抽象化を提供して、Java オブジェクトと HTTP 入出力メッセージ間で変換します。
JdbcTemplate とそれに関連するコールバックインターフェースおよびヘルパーオブジェクトに基づいて、コア JDBC フレームワークを提供します。
メッセージ変換のサポートを提供します。
ノンブロッキング、リアクティブ契約でアノテーション付きメッセージ処理メソッドを操作するためのサポートクラス。
アノテーション付きのメッセージ処理メソッドを操作するためのクラスをサポートします。
シンプルなメッセージングプロトコル(STOMP など)からのメッセージを処理するためのクラスをサポートします。
DatabaseClient を中心とするコアドメイン型。
ビジネスや UI レイヤーで使用するためのデータバインディングおよび検証機能を提供します。
Web データバインディングのサポートクラス。
アノテーションベースのハンドラーメソッド処理のクラスをサポートします。
ハンドラーメソッド処理の汎用サポートクラス。
HttpExchange
メソッドでアノテーションが付けられた HTTP サービスのクライアントプロキシを作成するためのサポート。 カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。
org.springframework.web.method.annotation
パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。 標準 Jakarta WebSocket API のアダプタークラス。
org.springframework.beans 内の ConversionService 使用
修飾子と型メソッド説明ConfigurablePropertyAccessor.getConversionService()
関連する ConversionService があれば、それを返します。PropertyEditorRegistrySupport.getConversionService()
関連する ConversionService があれば、それを返します。修飾子と型メソッド説明void
ConfigurablePropertyAccessor.setConversionService
(ConversionService conversionService) JavaBeans PropertyEditors の代わりに、プロパティ値の変換に使用するConversionService
を指定します。void
PropertyEditorRegistrySupport.setConversionService
(ConversionService conversionService) JavaBeans PropertyEditors の代わりに、プロパティ値の変換に使用するConversionService
を指定します。org.springframework.beans.factory.config 内の ConversionService 使用
修飾子と型メソッド説明void
ConfigurableBeanFactory.setConversionService
(ConversionService conversionService) JavaBeans PropertyEditors の代わりに、プロパティ値の変換に使用するConversionService
を指定します。org.springframework.beans.factory.support 内の ConversionService 使用
org.springframework.context.support 内の ConversionService 使用
org.springframework.core.convert.converter 内の ConversionService 使用
修飾子コンストラクター説明ConvertingComparator
(ComparatorSE<T> comparator, ConversionService conversionService, ClassSE<? extends T> targetType) 新しいConvertingComparator
インスタンスを作成します。org.springframework.core.convert.support 内の ConversionService 使用
修飾子と型クラス説明class
ほとんどの環境に適したコンバーターでデフォルトで構成されたGenericConversionService
の特殊化。class
ほとんどの環境での使用に適したベースConversionService
実装。修飾子と型メソッド説明static ConversionService
DefaultConversionService.getSharedInstance()
共有のデフォルトConversionService
インスタンスを返し、必要に応じて遅延ビルドします。修飾子コンストラクター説明ConvertingPropertyEditorAdapter
(ConversionService conversionService, TypeDescriptor targetDescriptor) 指定されたConversionService
および指定されたターゲット型に対して新しい ConvertingPropertyEditorAdapter を作成します。org.springframework.expression.spel.support 内の ConversionService 使用
修飾子と型メソッド説明SimpleEvaluationContext.Builder.withConversionService
(ConversionService conversionService) カスタムConversionService
を登録します。修飾子コンストラクター説明StandardTypeConverter
(ConversionService conversionService) 指定された ConversionService の StandardTypeConverter を作成します。修飾子コンストラクター説明StandardTypeConverter
(SupplierSE<ConversionService> conversionService) 指定された ConversionService の StandardTypeConverter を作成します。org.springframework.format.support 内の ConversionService 使用
修飾子と型クラス説明class
FormattingConversionService
の特殊化。ほとんどのアプリケーションに適したコンバーターとフォーマッターでデフォルトで構成されます。class
FormatterRegistry
として構成されるように設計されたConversionService
実装。org.springframework.http.converter 内の ConversionService 使用
修飾子コンストラクター説明ObjectToStringHttpMessageConverter
(ConversionService conversionService) (String)メッセージ本文とターゲットクラス型間の変換に使用するConversionService
を受け入れるコンストラクター。ObjectToStringHttpMessageConverter
(ConversionService conversionService, CharsetSE defaultCharset) ConversionService
およびデフォルトの文字セットを受け入れるコンストラクター。org.springframework.jdbc.core 内の ConversionService 使用
修飾子と型メソッド説明BeanPropertyRowMapper.getConversionService()
JDBC 値を Bean プロパティにバインドするためにConversionService
を返し、ない場合はnull
を返します。修飾子と型メソッド説明static <T> BeanPropertyRowMapper<T>
BeanPropertyRowMapper.newInstance
(ClassSE<T> mappedClass, ConversionService conversionService) 新しいBeanPropertyRowMapper
を作成する静的ファクトリメソッド。static <T> DataClassRowMapper<T>
DataClassRowMapper.newInstance
(ClassSE<T> mappedClass, ConversionService conversionService) 新しいDataClassRowMapper
を作成する静的ファクトリメソッド。static <T> SingleColumnRowMapper<T>
SingleColumnRowMapper.newInstance
(ClassSE<T> requiredType, ConversionService conversionService) 新しいSingleColumnRowMapper
を作成する静的ファクトリメソッド。void
BeanPropertyRowMapper.setConversionService
(ConversionService conversionService) JDBC 値を Bean プロパティにバインドするにはConversionService
を設定し、なしの場合はnull
を設定します。void
SingleColumnRowMapper.setConversionService
(ConversionService conversionService) 取得した値を変換するためのConversionService
を設定します。修飾子コンストラクター説明SimplePropertyRowMapper
(ClassSE<T> mappedClass, ConversionService conversionService) 新しいSimplePropertyRowMapper
を作成します。org.springframework.messaging.converter 内の ConversionService 使用
修飾子コンストラクター説明GenericMessageConverter
(ConversionService conversionService) 指定されたConversionService
で新しいインスタンスを作成します。org.springframework.messaging.handler.annotation.reactive 内の ConversionService 使用
修飾子と型メソッド説明void
MessageMappingMessageHandler.setConversionService
(ConversionService conversionService) ConversionService
を設定して、文字列ベースの値の型変換に使用します。修飾子コンストラクター説明protected
AbstractNamedValueMethodArgumentResolver
(ConversionService conversionService, ConfigurableBeanFactory beanFactory) ConversionService
およびBeanFactory
を持つコンストラクター。DestinationVariableMethodArgumentResolver
(ConversionService conversionService) HeaderMethodArgumentResolver
(ConversionService conversionService, ConfigurableBeanFactory beanFactory) org.springframework.messaging.handler.annotation.support 内の ConversionService 使用
修飾子と型メソッド説明void
DefaultMessageHandlerMethodFactory.setConversionService
(ConversionService conversionService) 元のメッセージペイロードまたはヘッダーの変換に使用するConversionService
を設定します。修飾子コンストラクター説明protected
AbstractNamedValueMethodArgumentResolver
(ConversionService conversionService, ConfigurableBeanFactory beanFactory) ConversionService
およびBeanFactory
を持つコンストラクター。DestinationVariableMethodArgumentResolver
(ConversionService conversionService) HeaderMethodArgumentResolver
(ConversionService conversionService, ConfigurableBeanFactory beanFactory) org.springframework.messaging.simp.annotation.support 内の ConversionService 使用
修飾子と型メソッド説明SimpAnnotationMethodMessageHandler.getConversionService()
設定されたConversionService
を返します。修飾子と型メソッド説明void
SimpAnnotationMethodMessageHandler.setConversionService
(ConversionService conversionService) メッセージヘッダー値などのメソッド引数を解決するときに使用するConversionService
を構成します。org.springframework.r2dbc.core 内の ConversionService 使用
修飾子コンストラクター説明BeanPropertyRowMapper
(ClassSE<T> mappedClass, ConversionService conversionService) 新しいBeanPropertyRowMapper
を作成します。DataClassRowMapper
(ClassSE<T> mappedClass, ConversionService conversionService) org.springframework.validation 内の ConversionService 使用
修飾子と型メソッド説明void
AbstractPropertyBindingResult.initConversion
(ConversionService conversionService) void
DataBinder.setConversionService
(ConversionService conversionService) JavaBeans PropertyEditors の代わりに、プロパティ値の変換に使用するConversionService
を指定します。org.springframework.web.bind.support 内の ConversionService 使用
修飾子と型メソッド説明final ConversionService
ConfigurableWebBindingInitializer.getConversionService()
すべての DataBinder に適用される ConversionService を返します。修飾子と型メソッド説明final void
ConfigurableWebBindingInitializer.setConversionService
(ConversionService conversionService) すべての DataBinder に適用される ConversionService を指定します。org.springframework.web.method.annotation 内の ConversionService 使用
修飾子と型メソッド説明void
RequestParamMethodArgumentResolver.contributeMethodArgument
(MethodParameter parameter, ObjectSE value, UriComponentsBuilder builder, MapSE<StringSE, ObjectSE> uriVariables, ConversionService conversionService) protected StringSE
RequestParamMethodArgumentResolver.formatUriValue
(ConversionService cs, TypeDescriptor sourceType, ObjectSE value) org.springframework.web.method.support 内の ConversionService 使用
修飾子と型メソッド説明void
CompositeUriComponentsContributor.contributeMethodArgument
(MethodParameter parameter, ObjectSE value, UriComponentsBuilder builder, MapSE<StringSE, ObjectSE> uriVariables, ConversionService conversionService) void
UriComponentsContributor.contributeMethodArgument
(MethodParameter parameter, ObjectSE value, UriComponentsBuilder builder, MapSE<StringSE, ObjectSE> uriVariables, ConversionService conversionService) 指定されたメソッド引数を処理し、UriComponentsBuilder
を更新するか、すべての引数が処理された後に URI を展開するために使用する URI 変数でマップに追加します。修飾子コンストラクター説明CompositeUriComponentsContributor
(CollectionSE<?> contributors, ConversionService cs) UriComponentsContributors
またはHandlerMethodArgumentResolvers
のコレクションからインスタンスを作成します。org.springframework.web.service.invoker 内の ConversionService 使用
修飾子と型メソッド説明HttpServiceProxyFactory.Builder.conversionService
(ConversionService conversionService) 入力値を文字列としてフォーマットする必要がある場合に使用するようにConversionService
を設定します。修飾子コンストラクター説明protected
AbstractNamedValueArgumentResolver
(ConversionService conversionService) 文字列値へのリゾルバーのコンストラクター。CookieValueArgumentResolver
(ConversionService conversionService) PathVariableArgumentResolver
(ConversionService conversionService) RequestHeaderArgumentResolver
(ConversionService conversionService) RequestParamArgumentResolver
(ConversionService conversionService) org.springframework.web.servlet.handler 内の ConversionService 使用
修飾子コンストラクター説明ConversionServiceExposingInterceptor
(ConversionService conversionService) 新しいConversionServiceExposingInterceptor
を作成します。org.springframework.web.servlet.mvc.method.annotation 内の ConversionService 使用
修飾子と型メソッド説明void
PathVariableMethodArgumentResolver.contributeMethodArgument
(MethodParameter parameter, ObjectSE value, UriComponentsBuilder builder, MapSE<StringSE, ObjectSE> uriVariables, ConversionService conversionService) protected StringSE
PathVariableMethodArgumentResolver.formatUriValue
(ConversionService cs, TypeDescriptor sourceType, ObjectSE value) org.springframework.web.socket.adapter.standard 内の ConversionService 使用
修飾子と型メソッド説明protected ConversionService
ConvertingEncoderDecoderSupport.getConversionService()
ConversionService
を取得するために使用される戦略方法。