Index
All Classes and Interfaces|All Packages|Constant Field Values
B
- BUNDLE_REQ_ATTR - Static variable in interface org.apache.sling.i18n.ResourceBundleProvider
-
Request attribute to get the resource bundle.
D
- DefaultJakartaLocaleResolver - Class in org.apache.sling.i18n
-
The
DefaultLocaleResolverresolves the request's Locale by calling theServletRequest.getLocales()method, which generally will be the Servlet Container's implementation of this method and thus be based on the client'sAccept-Languageheader. - DefaultJakartaLocaleResolver() - Constructor for class org.apache.sling.i18n.DefaultJakartaLocaleResolver
- DefaultLocaleResolver - Class in org.apache.sling.i18n
-
Deprecated.
- DefaultLocaleResolver() - Constructor for class org.apache.sling.i18n.DefaultLocaleResolver
-
Deprecated.
G
- getDefaultLocale() - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns the default
Localeassumed by this instance. - getResourceBundle(String, Locale) - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns a
ResourceBundlefor the given locale. - getResourceBundle(Locale) - Method in interface org.apache.sling.i18n.ResourceBundleProvider
-
Returns a
ResourceBundlefor the given locale.
J
- JakartaRequestLocaleResolver - Interface in org.apache.sling.i18n
-
The
JakartaRequestLocaleResolverservice interface may be implemented by a service registered under this name to allow the resolution of the requestLocaleto apply.
L
- LocaleResolver - Interface in org.apache.sling.i18n
-
Deprecated.The
JakartaRequestLocaleResolvershould be used instead.
O
- org.apache.sling.i18n - package org.apache.sling.i18n
R
- RequestLocaleResolver - Interface in org.apache.sling.i18n
-
Deprecated.use
JakartaRequestLocaleResolverinstead - resolveLocale(HttpServletRequest) - Method in class org.apache.sling.i18n.DefaultJakartaLocaleResolver
- resolveLocale(HttpServletRequest) - Method in interface org.apache.sling.i18n.JakartaRequestLocaleResolver
-
Return a non-
nullbut possibly empty list ofLocaleinstances to consider for localization of the current request. - resolveLocale(HttpServletRequest) - Method in class org.apache.sling.i18n.DefaultLocaleResolver
-
Deprecated.
- resolveLocale(HttpServletRequest) - Method in interface org.apache.sling.i18n.RequestLocaleResolver
-
Deprecated.Return a non-
nullbut possibly empty list ofLocaleinstances to consider for localization of the current request. - resolveLocale(SlingHttpServletRequest) - Method in class org.apache.sling.i18n.DefaultLocaleResolver
-
Deprecated.Return the Locales provided by the
ServletRequest.getLocales()method collected in aList. - resolveLocale(SlingHttpServletRequest) - Method in interface org.apache.sling.i18n.LocaleResolver
-
Deprecated.Return a non-
nullbut possiby empty list ofLocaleinstances to consider for localization of the current request. - ResourceBundleProvider - Interface in org.apache.sling.i18n
-
The
ResourceBundleProviderservice interface defines the API for a service, which is capable of returnedResourceBundlefor given anyLocale.
All Classes and Interfaces|All Packages|Constant Field Values
DefaultJakartaLocaleResolverinstead