public class LocaleUtil extends Object
| Constructor and Description |
|---|
LocaleUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Locale |
getLocaleforException()
Gets locale information associated with the current request.
|
static void |
setLocaleForRequest(org.apache.olingo.odata2.api.processor.ODataContext context)
Sets locale information in the current request.
|
public static Locale getLocaleforException()
Locale object representing a specific geographical, political, or cultural regionpublic static void setLocaleForRequest(org.apache.olingo.odata2.api.processor.ODataContext context)
context - An ODataContext object containing the locale informationCopyright © 2020 SAP. All Rights Reserved.