Class AbstractLocaleResolver
java.lang.Object
org.springframework.web.servlet.i18n.AbstractLocaleResolver
- All Implemented Interfaces:
- LocaleResolver
- Direct Known Subclasses:
- AbstractLocaleContextResolver, AcceptHeaderLocaleResolver
Abstract base class for 
LocaleResolver implementations.
Provides support for a default locale.
- Since:
- 1.2.9
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the defaultLocalethat this resolver is supposed to fall back to, if any.voidsetDefaultLocale(@Nullable Locale defaultLocale) Set a defaultLocalethat this resolver will return if no other locale is found.Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LocaleResolverresolveLocale, setLocale
- 
Constructor Details- 
AbstractLocaleResolverpublic AbstractLocaleResolver()
 
- 
- 
Method Details- 
setDefaultLocale
- 
getDefaultLocale
 
-