Class ConfluenceLocaleResolver

  • All Implemented Interfaces:
    com.atlassian.sal.api.message.LocaleResolver

    public class ConfluenceLocaleResolver
    extends Object
    implements com.atlassian.sal.api.message.LocaleResolver
    • Method Detail

      • getLocale

        public Locale getLocale​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        getLocale in interface com.atlassian.sal.api.message.LocaleResolver
      • getLocale

        public Locale getLocale()
        Specified by:
        getLocale in interface com.atlassian.sal.api.message.LocaleResolver
      • getLocale

        public Locale getLocale​(com.atlassian.sal.api.user.UserKey userKey)
        Specified by:
        getLocale in interface com.atlassian.sal.api.message.LocaleResolver
        Since:
        5.2
      • getApplicationLocale

        public Locale getApplicationLocale()
        Specified by:
        getApplicationLocale in interface com.atlassian.sal.api.message.LocaleResolver
      • getSupportedLocales

        public Set<Locale> getSupportedLocales()
        Specified by:
        getSupportedLocales in interface com.atlassian.sal.api.message.LocaleResolver