クラスの使用
org.springframework.format.support.FormattingConversionService
パッケージ
説明
フォーマットパッケージのクラスをサポートし、一般的な実装とアダプターを提供します。
ビルトイン
MockMvcBuilder
実装が含まれています。Spring WebFlux 構成インフラストラクチャ。
Spring MVC のアノテーションベースのセットアップ。
org.springframework.format.support 内の FormattingConversionService 使用
修飾子と型メソッド説明ClassSE<? extends FormattingConversionService>
FormattingConversionServiceFactoryBean.getObjectType()
org.springframework.test.web.servlet.client 内の FormattingConversionService 使用
修飾子と型メソッド説明MockMvcWebTestClient.ControllerSpec.conversionService
(FormattingConversionService conversionService) 変換サービスを提供します。org.springframework.test.web.servlet.setup 内の FormattingConversionService 使用
修飾子と型メソッド説明StandaloneMockMvcBuilder.setConversionService
(FormattingConversionService conversionService) カスタムフォーマッタとコンバーターを備えた変換サービスを提供します。org.springframework.web.reactive.config 内の FormattingConversionService 使用
修飾子と型メソッド説明WebFluxConfigurationSupport.webFluxConversionService()
アノテーション付きコントローラーで使用するためにFormattingConversionService
を返します。修飾子と型メソッド説明protected ConfigurableWebBindingInitializer
WebFluxConfigurationSupport.getConfigurableWebBindingInitializer
(FormattingConversionService webFluxConversionService, Validator webFluxValidator) すべてのWebDataBinder
インスタンスの初期化に使用するConfigurableWebBindingInitializer
を返します。WebFluxConfigurationSupport.requestMappingHandlerAdapter
(ReactiveAdapterRegistry reactiveAdapterRegistry, ServerCodecConfigurer serverCodecConfigurer, FormattingConversionService conversionService, Validator validator) org.springframework.web.servlet.config.annotation 内の FormattingConversionService 使用
修飾子と型メソッド説明WebMvcConfigurationSupport.mvcConversionService()
アノテーション付きコントローラーで使用するためにFormattingConversionService
を返します。修飾子と型メソッド説明WebMvcConfigurationSupport.beanNameHandlerMapping
(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) URL パスをコントローラー Bean 名にマップするには、2 で順序付けされたBeanNameUrlHandlerMapping
を返します。protected ConfigurableWebBindingInitializer
WebMvcConfigurationSupport.getConfigurableWebBindingInitializer
(FormattingConversionService mvcConversionService, Validator mvcValidator) すべてのWebDataBinder
インスタンスの初期化に使用するConfigurableWebBindingInitializer
を返します。protected final ObjectSE[]
WebMvcConfigurationSupport.getInterceptors
(FormattingConversionService mvcConversionService, ResourceUrlProvider mvcResourceUrlProvider) HandlerMapping
インスタンスの構成に使用される共有ハンドラーインターセプターへのアクセスを提供します。WebMvcConfigurationSupport.mvcUriComponentsContributor
(FormattingConversionService conversionService, RequestMappingHandlerAdapter requestMappingHandlerAdapter) MvcUriComponentsBuilder
で使用するためにCompositeUriComponentsContributor
のインスタンスを返します。WebMvcConfigurationSupport.requestMappingHandlerAdapter
(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, Validator validator) アノテーション付きコントローラーメソッドを介してリクエストを処理するためのRequestMappingHandlerAdapter
を返します。WebMvcConfigurationSupport.requestMappingHandlerMapping
(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) リクエストをアノテーション付きコントローラーにマッピングするために、0 で順序付けされたRequestMappingHandlerMapping
を返します。WebMvcConfigurationSupport.resourceHandlerMapping
(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) リソースハンドラーがマップされた Integer.MAX_VALUE-1 で順序付けられたハンドラーマッピングを返します。WebMvcConfigurationSupport.routerFunctionMapping
(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) ルーター関数をマップするために、3 で順序付けされたRouterFunctionMapping
を返します。WebMvcConfigurationSupport.viewControllerHandlerMapping
(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) URL パスをビュー名に直接マップするには、1 で順序付けられたハンドラーマッピングを返します。