Package org.apache.olingo.odata2.api.uri
Interface PathSegment
-
public interface PathSegmentURI path segment consisting of an URI path element and URI matrix parameters.
Example URI:
where//moremaps.com/map/color;mul=50,25;long=20;scale=32000coloris a path segment,mul,long, andscaleare matrix parameters, and the matrix parametermulhas a multi-value list. @org.apache.olingo.odata2.DoNotImplement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,List<String>>getMatrixParameters()Gets the matrix parameters of this path segment.StringgetPath()Gets a URI path element.
-
-
-
Method Detail
-
getPath
String getPath()
Gets a URI path element. In the example above,colorwill be an element.- Returns:
- a URI path element
-
getMatrixParameters
Map<String,List<String>> 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
-
-