Class LocaleConfiguration

java.lang.Object
ee.datel.dogis.admin.config.LocaleConfiguration

@Configuration
public class LocaleConfiguration
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    LocaleConfiguration()  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.web.servlet.i18n.LocaleChangeInterceptor localeChangeInterceptor()  
    org.springframework.web.servlet.LocaleResolver localeResolver​(org.springframework.core.env.Environment env, java.lang.String appName, boolean sslCookie)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • localeResolver

      @Bean public org.springframework.web.servlet.LocaleResolver localeResolver​(org.springframework.core.env.Environment env, @Value("${application.context.name}") java.lang.String appName, @Value("${server.servlet.session.cookie.secure}") boolean sslCookie)
    • localeChangeInterceptor

      @Bean public org.springframework.web.servlet.i18n.LocaleChangeInterceptor localeChangeInterceptor()