Class SpringLocaleResolver
- java.lang.Object
- org.apache.tiles.locale.impl.DefaultLocaleResolver
- org.springframework.web.servlet.view.tiles2.SpringLocaleResolver
- All Implemented Interfaces:
LocaleResolver
@Deprecated public class SpringLocaleResolver extends DefaultLocaleResolver
Deprecated.as of Spring 4.2, in favor of Tiles 3Tiles LocaleResolver adapter that delegates to a SpringLocaleResolver
, 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..
- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
DefinitionsFactory.LOCALE_RESOLVER_IMPL_PROPERTY
Field Summary
Fields inherited from class org.apache.tiles.locale.impl.DefaultLocaleResolver
LOCALE_KEY
Constructor Summary
Constructors Constructor Description SpringLocaleResolver()
Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Locale
resolveLocale(TilesRequestContext context)
Deprecated.Methods inherited from class org.apache.tiles.locale.impl.DefaultLocaleResolver
resolveLocale
Constructor Detail
SpringLocaleResolver
public SpringLocaleResolver()
Deprecated.
Method Detail
resolveLocale
public Locale resolveLocale(TilesRequestContext context)
Deprecated.