Package org.apache.olingo.odata2.core
Class PathInfoImpl
java.lang.Object
org.apache.olingo.odata2.core.PathInfoImpl
- All Implemented Interfaces:
PathInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets OData path segments as immutable list.Gets preceding path segments.Get the absolute request URI including any query parameters.Gets the root URI of this service.voidsetODataPathSegment(List<PathSegment> odataPathSegment) voidsetPrecedingPathSegment(List<PathSegment> precedingPathSegment) voidsetRequestUri(URI requestUri) voidsetServiceRoot(URI uri)
-
Constructor Details
-
PathInfoImpl
public PathInfoImpl()
-
-
Method Details
-
setODataPathSegment
-
setPrecedingPathSegment
-
setServiceRoot
-
getPrecedingSegments
Description copied from interface:PathInfoGets preceding path segments.- Specified by:
getPrecedingSegmentsin interfacePathInfo- Returns:
- List of path segments
-
getODataSegments
Description copied from interface:PathInfoGets OData path segments as immutable list.- Specified by:
getODataSegmentsin interfacePathInfo- Returns:
- List of path segments
-
getServiceRoot
Description copied from interface:PathInfoGets the root URI of this service. This includes any segments which can be found in the preceding segments list.- Specified by:
getServiceRootin interfacePathInfo- Returns:
- absolute base URI of the request
-
getRequestUri
Description copied from interface:PathInfoGet the absolute request URI including any query parameters.- Specified by:
getRequestUriin interfacePathInfo- Returns:
- the absolute request URI
-
setRequestUri
-