@FunctionalInterface public interface LocaleFacade
| Modifier and Type | Method and Description |
|---|---|
default Locale |
getCurrentLocale()
Returns the requested locale of the current HTTP request, or default locale of the server.
|
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.
|
@Nonnull default Locale getCurrentLocale()
@Nonnull List<Locale> getCurrentLocales()
Copyright © 2022 SAP SE. All rights reserved.