@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) |
void |
extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
PageableHandlerMethodArgumentResolver |
pageableResolver() |
SortHandlerMethodArgumentResolver |
sortResolver() |
addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, 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.WebMvcConfigureraddFormatters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddArgumentResolvers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
extendMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerextendMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.