Package org.apache.olingo.odata2.api.uri
Interface PathSegment
- All Known Implementing Classes:
ODataPathSegmentImpl
public interface PathSegment
URI path segment consisting of an URI path element and URI matrix parameters.
Example URI:
//moremaps.com/map/color;mul=50,25;long=20;scale=32000
where color is a path segment,
mul, long, and scale are matrix parameters,
and the matrix parameter mul has a multi-value list.-
Method Summary
-
Method Details
-
getPath
String getPath()Gets a URI path element. In the example above,colorwill be an element.- Returns:
- a URI path element
-
getMatrixParameters
Gets the matrix parameters of this path segment.
In the
PathSegmentexample,mul,long, andscaleare matrix parameters.- Returns:
- an immutable map of matrix parameters and their values
-