|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestLocaleResolver
The GlobalLocaleResolver service interface may be implemented by a
service registered under this name to allow the resolution of the request
Locale to apply.
This interface is intended to be implemented by providers knowing how to
resolve one or more Locales applicable to handle the request.
Only a single GlobalLocaleResolver service is currently used.
| Method Summary | |
|---|---|
java.util.List<java.util.Locale> |
resolveLocale(javax.servlet.http.HttpServletRequest request)
Return a non- null but possiby empty list of
Locale instances to consider for localization of the current
request. |
| Method Detail |
|---|
java.util.List<java.util.Locale> resolveLocale(javax.servlet.http.HttpServletRequest request)
null but possiby empty list of
Locale instances to consider for localization of the current
request. The list returned is assumed to be ordered by preference where
the first entry is the prefered Locale and the last entry is
the least prefered Locale.
Returning an empty list is equivalent to returning a singleton list whose
single entry is the ResourceBundleProvider.getDefaultLocale().
request - The SlingHttpServletRequest providing hints
and information for the Locale resolution.
Locales to use for internationalization
of request processing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||