Locale support classes for Spring's web MVC framework.
Provides standard LocaleResolver implementations,
and a HandlerInterceptor for locale changes.
Classes
AbstractLocaleResolver |
Abstract base class for LocaleResolver implementations. |
AcceptHeaderLocaleResolver |
Implementation of LocaleResolver that simply uses the primary locale
specified in the "accept-language" header of the HTTP request (that is,
the locale sent by the client browser, normally that of the client's OS). |
CookieLocaleResolver |
LocaleResolver implementation that uses a cookie sent back to the user
in case of a custom setting, with a fallback to the specified default locale
or the request's accept-header locale. |
FixedLocaleResolver |
LocaleResolver implementation
that always returns a fixed default locale. |
LocaleChangeInterceptor |
Interceptor that allows for changing the current locale on every request,
via a configurable request parameter. |
SessionLocaleResolver |
Implementation of LocaleResolver that uses a locale attribute in the user's
session in case of a custom setting, with a fallback to the specified default
locale or the request's accept-header locale. |