Example usage for Java org.springframework.web.servlet.i18n SessionLocaleResolver fields, constructors, methods, implement or subclass
The text is from its open source code.
String | LOCALE_SESSION_ATTRIBUTE_NAME Name of the session attribute that holds the Locale. |
Locale | resolveLocale(HttpServletRequest request) |
void | setDefaultLocale(@Nullable Locale defaultLocale) Set a default Locale that this resolver will return if no other locale found. |
void | setLocale(HttpServletRequest request, @Nullable HttpServletResponse response, @Nullable Locale locale) |