クラス SpringDataWebConfiguration
java.lang.ObjectSE
org.springframework.data.web.config.SpringDataWebConfiguration
- 実装されているすべてのインターフェース:
Aware, BeanClassLoaderAware, WebMvcConfigurer
- 既知の直属サブクラス
HateoasAwareSpringDataWebConfiguration
@Configuration(proxyBeanMethods=false)
public class SpringDataWebConfiguration
extends ObjectSE
implements WebMvcConfigurer, BeanClassLoaderAware
PageableHandlerMethodArgumentResolver、SortHandlerMethodArgumentResolver、OffsetScrollPositionHandlerMethodArgumentResolver および DomainClassConverter を登録するための構成クラス。- 導入:
- 1.6
- 作成者:
- Oliver Gierke, Vedran Pavic, Jens Schauder, Mark Paluch, Greg Turnquist, Yanming Zhou
コンストラクターの概要
コンストラクターコンストラクター説明SpringDataWebConfiguration(ApplicationContext context, ObjectFactory<ConversionService> conversionService) メソッドのサマリー
修飾子と型メソッド説明voidaddArgumentResolvers(ListSE<HandlerMethodArgumentResolver> argumentResolvers) voidaddFormatters(FormatterRegistry registry) voidprotected voidprotected voidcustomizePageableResolver(PageableHandlerMethodArgumentResolver pageableResolver) protected voidcustomizeSortResolver(SortHandlerMethodArgumentResolver sortResolver) voidsetBeanClassLoader(ClassLoaderSE classLoader) クラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース WebMvcConfigurer から継承されたメソッド
addCorsMappings, addErrorResponseInterceptors, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureApiVersioning, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
コンストラクターの詳細
SpringDataWebConfiguration
public SpringDataWebConfiguration(ApplicationContext context, @Qualifier("mvcConversionService") ObjectFactory<ConversionService> conversionService)
メソッドの詳細
setBeanClassLoader
- 次で指定:
- インターフェース
BeanClassLoaderAwareのsetBeanClassLoader
pageableResolver
sortResolver
offsetResolver
addFormatters
- 次で指定:
- インターフェース
WebMvcConfigurerのaddFormatters
addArgumentResolvers
- 次で指定:
- インターフェース
WebMvcConfigurerのaddArgumentResolvers
configureMessageConverters
- 次で指定:
- インターフェース
WebMvcConfigurerのconfigureMessageConverters
customizePageableResolver
customizeSortResolver
customizeOffsetResolver
protected void customizeOffsetResolver(OffsetScrollPositionHandlerMethodArgumentResolver offsetResolver)