站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

Uses of Interface org.springframework.web.servlet.LocaleResolver (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

Uses of Interface
org.springframework.web.servlet.LocaleResolver

Packages that use LocaleResolver
org.springframework.web.servlet.i18n Locale support classes for Spring's web MVC framework. 
org.springframework.web.servlet.support Support classes for Spring's web MVC framework. 
 

Uses of LocaleResolver in org.springframework.web.servlet.i18n
 

Classes in org.springframework.web.servlet.i18n that implement LocaleResolver
 class AbstractLocaleResolver
          Abstract base class for LocaleResolver implementations.
 class AcceptHeaderLocaleResolver
          Implementation of LocaleResolver that simply uses the primary locale specified in the "accept-language" header of the HTTP request (that is, the locale sent by the client browser, normally that of the client's OS).
 class CookieLocaleResolver
          LocaleResolver implementation that uses a cookie sent back to the user in case of a custom setting, with a fallback to the specified default locale or the request's accept-header locale.
 class FixedLocaleResolver
          Implementation of LocaleResolver that always returns a fixed default locale.
 class SessionLocaleResolver
          Implementation of LocaleResolver that uses a locale attribute in the user's session in case of a custom setting, with a fallback to the specified default locale or the request's accept-header locale.
 

Uses of LocaleResolver in org.springframework.web.servlet.support
 

Methods in org.springframework.web.servlet.support that return LocaleResolver
static LocaleResolver RequestContextUtils.getLocaleResolver(HttpServletRequest request)
          Return the LocaleResolver that has been bound to the request by the DispatcherServlet.
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.