org.apache.olingo.odata2.api.uri

## Interface PathSegment

-     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.
  Do not implement this interface or derive from class.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,List<String>>` | `getMatrixParameters()` Gets the matrix parameters of this path segment.
    `String` | `getPath()` Gets a URI path element.

- - ### Method Detail

    - #### 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

Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.