Class WebConfig

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware

    @Configuration
    public class WebConfig
    extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
    This class defines and extended version of the MVC Annotation configuration.
    Author:
    Daniel Bernstein
    • Constructor Summary

      Constructors 
      Constructor Description
      WebConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.format.support.DefaultFormattingConversionService defaultFormattingConversionService()  
      org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter requestMappingHandlerAdapter()  
      • Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport

        addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendHandlerExceptionResolvers, extendMessageConverters, getApplicationContext, getArgumentResolvers, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, getValidator, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerMapping, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping
    • Constructor Detail

      • WebConfig

        public WebConfig()
    • Method Detail

      • requestMappingHandlerAdapter

        @Bean
        public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter requestMappingHandlerAdapter()
        Overrides:
        requestMappingHandlerAdapter in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
      • defaultFormattingConversionService

        @Bean
        public org.springframework.format.support.DefaultFormattingConversionService defaultFormattingConversionService()