Package org.apache.olingo.odata2.api.uri
Interface PathInfo
- All Known Implementing Classes:
PathInfoImpl
public interface PathInfo
Object to keep OData URI information.
-
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.
-
Method Details
-
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
-