Interface for web-based locale resolution strategies that allows for
both locale resolution via the request and locale modification via
request and response.
This interface allows for implementations based on request, session,
cookies, etc. The default implementation is
simply using the request's locale provided by the respective HTTP header.
to retrieve the current locale in controllers or views, independent
of the actual resolution strategy.
Note: As of Spring 4.0, there is an extended strategy interface
LocaleContextResolver, allowing for resolution of
potentially including associated time zone information. Spring's
provided resolver implementations implement the extended
LocaleContextResolver interface wherever appropriate.