org.springframework.web.servlet.support
Class JstlUtils.SpringLocalizationContext
java.lang.Object
LocalizationContext
org.springframework.web.servlet.support.JstlUtils.SpringLocalizationContext
- Enclosing class:
- JstlUtils
private static class JstlUtils.SpringLocalizationContext
- extends LocalizationContext
Spring-specific LocalizationContext adapter that merges session-scoped
JSTL LocalizationContext/Locale attributes with the local Spring request context.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageSource
private final MessageSource messageSource
request
private final HttpServletRequest request
JstlUtils.SpringLocalizationContext
public JstlUtils.SpringLocalizationContext(MessageSource messageSource,
HttpServletRequest request)
getResourceBundle
public java.util.ResourceBundle getResourceBundle()
getLocale
public java.util.Locale getLocale()