Class SpringDataWebConfiguration

java.lang.Object
org.springframework.data.web.config.SpringDataWebConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Direct Known Subclasses:
HateoasAwareSpringDataWebConfiguration

@Configuration(proxyBeanMethods=false) public class SpringDataWebConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.beans.factory.BeanClassLoaderAware
Since:
1.6
Author:
Oliver Gierke, Vedran Pavic, Jens Schauder, Mark Paluch, Greg Turnquist
  • Constructor Details

    • SpringDataWebConfiguration

      public SpringDataWebConfiguration(org.springframework.context.ApplicationContext context, @Qualifier("mvcConversionService") org.springframework.beans.factory.ObjectFactory<org.springframework.core.convert.ConversionService> conversionService)
  • Method Details

    • setBeanClassLoader

      public void setBeanClassLoader(ClassLoader classLoader)
      Specified by:
      setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
    • pageableResolver

      @Bean public PageableHandlerMethodArgumentResolver pageableResolver()
    • sortResolver

      @Bean public SortHandlerMethodArgumentResolver sortResolver()
    • addFormatters

      public void addFormatters(org.springframework.format.FormatterRegistry registry)
      Specified by:
      addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addArgumentResolvers

      public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
      Specified by:
      addArgumentResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • extendMessageConverters

      public void extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
      Specified by:
      extendMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • customizePageableResolver

      protected void customizePageableResolver(PageableHandlerMethodArgumentResolver pageableResolver)
    • customizeSortResolver

      protected void customizeSortResolver(SortHandlerMethodArgumentResolver sortResolver)