@Configuration
public class SpringDataWebConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
PageableHandlerMethodArgumentResolver
,
SortHandlerMethodArgumentResolver
and DomainClassConverter
.Constructor and Description |
---|
SpringDataWebConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) |
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
PageableHandlerMethodArgumentResolver |
pageableResolver() |
SortHandlerMethodArgumentResolver |
sortResolver() |
addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, getMessageCodesResolver, getValidator
@Bean public PageableHandlerMethodArgumentResolver pageableResolver()
@Bean public SortHandlerMethodArgumentResolver sortResolver()
public void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addFormatters
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Copyright © 2016. All rights reserved.