@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, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, getMessageCodesResolver, 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-2014–2015 Pivotal Software, Inc.. All rights reserved.