Class SpringConfigWeb

  • All Implemented Interfaces:
    org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    @Configuration
    @EnableAspectJAutoProxy
    public class SpringConfigWeb
    extends Object
    implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • Constructor Summary

      Constructors 
      Constructor Description
      SpringConfigWeb()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addInterceptors​(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)  
      void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
      Handles HTTP GET requests for /resources/** by efficiently serving up static resources in the ${symbol_dollar}{webappRoot}/resources directory
      nz.net.ultraq.thymeleaf.LayoutDialect layoutDialect()  
      org.springframework.web.servlet.LocaleResolver localeResolver()  
      • Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

        addArgumentResolvers, addCorsMappings, addFormatters, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
    • Constructor Detail

      • SpringConfigWeb

        public SpringConfigWeb()
    • Method Detail

      • addResourceHandlers

        public void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
        Handles HTTP GET requests for /resources/** by efficiently serving up static resources in the ${symbol_dollar}{webappRoot}/resources directory
        Specified by:
        addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
        Parameters:
        registry - resourcehandler registry
      • layoutDialect

        @Bean
        public nz.net.ultraq.thymeleaf.LayoutDialect layoutDialect()
      • addInterceptors

        public void addInterceptors​(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
        Specified by:
        addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
      • localeResolver

        @Bean
        public org.springframework.web.servlet.LocaleResolver localeResolver()