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 Details

    • getPath

      String getPath()
      Gets a URI path element. In the example above, color will be an element.
      Returns:
      a URI path element
    • getMatrixParameters

      Map<String,List<String>> getMatrixParameters()

      Gets the matrix parameters of this path segment.

      In the PathSegment example, mul, long, and scale are matrix parameters.

      Returns:
      an immutable map of matrix parameters and their values