Package org.apache.olingo.odata2.api.uri
Interface PathInfo
-
public interface PathInfoObject to keep OData URI information. @org.apache.olingo.odata2.DoNotImplement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PathSegment>getODataSegments()Gets OData path segments as immutable list.List<PathSegment>getPrecedingSegments()Gets preceding path segments.URIgetRequestUri()Get the absolute request URI including any query parameters.URIgetServiceRoot()Gets the root URI of this service.
-
-
-
Method Detail
-
getPrecedingSegments
List<PathSegment> getPrecedingSegments()
Gets preceding path segments.- Returns:
- List of path segments
-
getODataSegments
List<PathSegment> getODataSegments()
Gets OData path segments as immutable list.- Returns:
- List of path segments
-
getServiceRoot
URI getServiceRoot()
Gets the root URI of this service. This includes any segments which can be found in the preceding segments list.- Returns:
- absolute base URI of the request
-
getRequestUri
URI getRequestUri()
Get the absolute request URI including any query parameters.- Returns:
- the absolute request URI
-
-