spring-framework / org.springframework.web.servlet.i18n / SessionLocaleResolver / setLocaleAttributeName

setLocaleAttributeName

open fun setLocaleAttributeName(localeAttributeName: String): Unit

Specify the name of the corresponding attribute in the HttpSession, holding the current Locale value.

The default is an internal #LOCALE_SESSION_ATTRIBUTE_NAME.

Since
4.3.8