类 SpringLocaleResolver
- java.lang.Object
- org.apache.tiles.locale.impl.DefaultLocaleResolver
- org.springframework.web.servlet.view.tiles2.SpringLocaleResolver
- 所有已实现的接口:
LocaleResolver
@Deprecated public class SpringLocaleResolver extends DefaultLocaleResolver
已过时。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..
- 从以下版本开始:
- 2.5
- 作者:
- Juergen Hoeller
- 另请参阅:
DefinitionsFactory.LOCALE_RESOLVER_IMPL_PROPERTY
字段概要
从类继承的字段 org.apache.tiles.locale.impl.DefaultLocaleResolver
LOCALE_KEY
构造器概要
构造器 构造器 说明 SpringLocaleResolver()
已过时。
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 Locale
resolveLocale(TilesRequestContext context)
已过时。从类继承的方法 org.apache.tiles.locale.impl.DefaultLocaleResolver
resolveLocale
构造器详细资料
SpringLocaleResolver
public SpringLocaleResolver()
已过时。
方法详细资料
resolveLocale
public Locale resolveLocale(TilesRequestContext context)
已过时。