@Deprecated public class SpringLocaleResolver extends DefaultLocaleResolver
LocaleResolver
,
exposing the DispatcherServlet-managed locale.
This adapter gets automatically registered by TilesConfigurer
.
If you are using standard Tiles bootstrap, specify the name of this class
as value for the init-param "org.apache.tiles.locale.LocaleResolver".
NOTE: Tiles 2 support is deprecated in favor of Tiles 3 and will be removed as of Spring Framework 5.0..
DefinitionsFactory.LOCALE_RESOLVER_IMPL_PROPERTY
LOCALE_KEY
Constructor and Description |
---|
SpringLocaleResolver()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
resolveLocale(TilesRequestContext context)
Deprecated.
|
resolveLocale
public java.util.Locale resolveLocale(TilesRequestContext context)