public class ConfluenceLocaleResolver extends Object implements com.atlassian.sal.api.message.LocaleResolver
| Constructor and Description |
|---|
ConfluenceLocaleResolver(LanguageManager languageManager,
LocaleManager localeManager) |
ConfluenceLocaleResolver(LocaleManager localeManager,
UserAccessor userAccessor,
LanguageManager languageManager) |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale() |
Locale |
getLocale(javax.servlet.http.HttpServletRequest request) |
Locale |
getLocale(com.atlassian.sal.api.user.UserKey userKey) |
Set<Locale> |
getSupportedLocales() |
public ConfluenceLocaleResolver(LocaleManager localeManager, UserAccessor userAccessor, LanguageManager languageManager)
public ConfluenceLocaleResolver(LanguageManager languageManager, LocaleManager localeManager)
public Locale getLocale(javax.servlet.http.HttpServletRequest request)
getLocale in interface com.atlassian.sal.api.message.LocaleResolverpublic Locale getLocale()
getLocale in interface com.atlassian.sal.api.message.LocaleResolverpublic Locale getLocale(com.atlassian.sal.api.user.UserKey userKey)
getLocale in interface com.atlassian.sal.api.message.LocaleResolverCopyright © 2003–2019 Atlassian. All rights reserved.