クラス HateoasAwareSpringDataWebConfiguration
java.lang.ObjectSE
org.springframework.data.web.config.SpringDataWebConfiguration
org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration
- 実装されているすべてのインターフェース:
Aware、BeanClassLoaderAware、WebMvcConfigurer
@Configuration(proxyBeanMethods=false)
public class HateoasAwareSpringDataWebConfiguration
extends SpringDataWebConfiguration
PagedResourcesAssembler、PagedResourcesAssemblerArgumentResolver、SlicedResourcesAssembler、SlicedResourcesAssemblerArgumentResolver を登録する JavaConfig クラス。- 導入:
- 1.6
- 作成者:
- Oliver Gierke, Nick Williams, Ben Hale, Vedran Pavic, Mark Paluch, Greg Turnquist, Michael Schout
コンストラクターの概要
コンストラクターコンストラクター説明HateoasAwareSpringDataWebConfiguration(ApplicationContext context, ObjectFactory<ConversionService> conversionService) メソッドのサマリー
クラス org.springframework.data.web.config.SpringDataWebConfiguration から継承されたメソッド
addFormatters, customizeOffsetResolver, customizePageableResolver, customizeSortResolver, extendMessageConverters, offsetResolver, setBeanClassLoaderクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.web.servlet.config.annotation.WebMvcConfigurer から継承されたメソッド
addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, getMessageCodesResolver, getValidator
コンストラクターの詳細
HateoasAwareSpringDataWebConfiguration
public HateoasAwareSpringDataWebConfiguration(ApplicationContext context, @Qualifier("mvcConversionService") ObjectFactory<ConversionService> conversionService) - パラメーター:
context- null であってはなりません。conversionService- null であってはなりません。
メソッドの詳細
pageableResolver
- オーバーライド:
- クラス
SpringDataWebConfigurationのpageableResolver
sortResolver
- オーバーライド:
- クラス
SpringDataWebConfigurationのsortResolver
pagedResourcesAssembler
pagedResourcesAssemblerArgumentResolver
slicedResourcesAssembler
slicedResourcesAssemblerArgumentResolver
addArgumentResolvers
- 次で指定:
- インターフェース
WebMvcConfigurerのaddArgumentResolvers - オーバーライド:
- クラス
SpringDataWebConfigurationのaddArgumentResolvers