Class NtsLocaleConfiguration

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

    @Configuration
    @ConditionalOnMissingBean(name="localeConfiguration")
    public class NtsLocaleConfiguration
    extends Object
    implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addInterceptors​(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)  
      org.springframework.web.servlet.LocaleResolver localeResolver()  
      • Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

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

      • NtsLocaleConfiguration

        public NtsLocaleConfiguration()
    • Method Detail

      • localeResolver

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

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