@Configuration public class SpringDataWebConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.beans.factory.BeanClassLoaderAware
PageableHandlerMethodArgumentResolver
,
SortHandlerMethodArgumentResolver
and DomainClassConverter
.Constructor and Description |
---|
SpringDataWebConfiguration(org.springframework.context.ApplicationContext context,
org.springframework.beans.factory.ObjectFactory<org.springframework.core.convert.ConversionService> conversionService) |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) |
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
protected void |
customizePageableResolver(PageableHandlerMethodArgumentResolver pageableResolver) |
protected void |
customizeSortResolver(SortHandlerMethodArgumentResolver sortResolver) |
void |
extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
PageableHandlerMethodArgumentResolver |
pageableResolver() |
void |
setBeanClassLoader(ClassLoader classLoader) |
SortHandlerMethodArgumentResolver |
sortResolver() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, getMessageCodesResolver, getValidator
public SpringDataWebConfiguration(org.springframework.context.ApplicationContext context, @Qualifier(value="mvcConversionService") org.springframework.beans.factory.ObjectFactory<org.springframework.core.convert.ConversionService> conversionService)
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
@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
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public void extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
extendMessageConverters
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
protected void customizePageableResolver(PageableHandlerMethodArgumentResolver pageableResolver)
protected void customizeSortResolver(SortHandlerMethodArgumentResolver sortResolver)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.