public class OpenmrsCookieLocaleResolver
extends org.springframework.web.servlet.i18n.CookieLocaleResolver
Constructor and Description |
---|
OpenmrsCookieLocaleResolver() |
Modifier and Type | Method and Description |
---|---|
String |
getCookieName() |
Locale |
resolveLocale(javax.servlet.http.HttpServletRequest request) |
void |
setLocale(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Locale locale) |
determineDefaultLocale, getDefaultLocale, setDefaultLocale
public Locale resolveLocale(javax.servlet.http.HttpServletRequest request)
resolveLocale
in interface org.springframework.web.servlet.LocaleResolver
resolveLocale
in class org.springframework.web.servlet.i18n.CookieLocaleResolver
public void setLocale(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Locale locale)
setLocale
in interface org.springframework.web.servlet.LocaleResolver
setLocale
in class org.springframework.web.servlet.i18n.CookieLocaleResolver
public String getCookieName()
getCookieName
in class org.springframework.web.util.CookieGenerator
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.