public class DefaultODataContextLocaleExtractor extends java.lang.Object implements ODataContextLocaleExtractor
ODataContextLocaleExtractor| Constructor and Description |
|---|
DefaultODataContextLocaleExtractor() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Locale |
extractFrom(ODataContext context,
java.lang.String headerName)
Get the Content Locale based on the given ODataContext
|
public java.util.Locale extractFrom(ODataContext context,
java.lang.String headerName)
ODataContextLocaleExtractorextractFrom in interface ODataContextLocaleExtractorcontext - The ODataContext to be used.headerName - The header name to use. For instance: "Content-Language" or "Accept-Language"Copyright © 2018 SAP SE. All Rights Reserved.