public class SpringLocaleResolver extends DefaultLocaleResolver
LocaleResolver
, exposing the
DispatcherServlet-managed locale.
This adapter gets automatically registered by TilesConfigurer
.
DefinitionsFactory.LOCALE_RESOLVER_IMPL_PROPERTY
LOCALE_KEY
Constructor and Description |
---|
SpringLocaleResolver() |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
resolveLocale(Request request) |
public java.util.Locale resolveLocale(Request request)
resolveLocale
in interface LocaleResolver
resolveLocale
in class DefaultLocaleResolver