@Path(value="/")
public class OlingoRootLocator
extends org.apache.olingo.odata2.core.rest.ODataRootLocator
/{odata path} e.g. http://host:port/webapp/odata.svc/$metadata
All path segments defined by a servlet mapping belong to the odata uri.
/{custom path}{odata path} e.g. http://host:port/webapp/bmw/odata.svc/$metadata
The first segment defined by a servlet mapping belong to customer context and the following segments are OData
specific.
| Constructor and Description |
|---|
OlingoRootLocator() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPathSplit() |
ODataServiceFactory |
getServiceFactory() |
void |
setPathSplit(int pathSplit) |
void |
setServiceFactory(ODataServiceFactory serviceFactory) |
public ODataServiceFactory getServiceFactory()
getServiceFactory in class org.apache.olingo.odata2.core.rest.ODataRootLocatorpublic void setServiceFactory(ODataServiceFactory serviceFactory)
public int getPathSplit()
getPathSplit in class org.apache.olingo.odata2.core.rest.ODataRootLocatorpublic void setPathSplit(int pathSplit)
Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.