public class DefaultLocaleFacade extends Object implements LocaleFacade
Locale information. By default, the RequestHeaderAccessor is used to read the
"Accept-Languages" HTTP header value(s) explicitly from the incoming request. As fallback the system default
Locale will be chosen.| Constructor and Description |
|---|
DefaultLocaleFacade() |
| Modifier and Type | Method and Description |
|---|---|
List<Locale> |
getCurrentLocales()
Returns a list of locales indicating, in decreasing order starting with the preferred locale, the locales that
are acceptable to the client based on the Accept-Language header.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentLocale@Nonnull public List<Locale> getCurrentLocales()
LocaleFacadegetCurrentLocales in interface LocaleFacadeCopyright © 2022 SAP SE. All rights reserved.