{@link LocaleResolver} implementation that uses a cookie sent back to the userin case of a custom setting, with a fallback to the specified default locale or the request's accept-header locale.
This is particularly useful for stateless applications without user sessions.
Custom controllers can thus override the user's locale by calling {@link #setLocale(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.util.Locale)}, for example responding to a certain locale change request.
@author Juergen Hoeller
@author Jean-Pierre Pawlak
@since 27.02.2003
@see #setDefaultLocale
@see #setLocale