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 |
---|---|
Locale |
resolveLocale(org.apache.tiles.request.Request request) |
init, resolveLocale
public Locale resolveLocale(org.apache.tiles.request.Request request)