@Configuration public class SpringDataWebConfiguration extends WebMvcConfigurerAdapter
PageableHandlerMethodArgumentResolver
,
SortHandlerMethodArgumentResolver
and DomainClassConverter
.Constructor and Description |
---|
SpringDataWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) |
void |
addFormatters(FormatterRegistry registry) |
PageableHandlerMethodArgumentResolver |
pageableResolver() |
SortHandlerMethodArgumentResolver |
sortResolver() |
addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, getValidator
@Bean public PageableHandlerMethodArgumentResolver pageableResolver()
@Bean public SortHandlerMethodArgumentResolver sortResolver()
public void addFormatters(FormatterRegistry registry)
addFormatters
in interface WebMvcConfigurer
addFormatters
in class WebMvcConfigurerAdapter
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers
in interface WebMvcConfigurer
addArgumentResolvers
in class WebMvcConfigurerAdapter
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.