org.apache.olingo.odata2.api.uri

## Interface PathInfo

-     public interface PathInfo

  Object to keep OData URI information.
  Do not implement this interface or derive from class.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<PathSegment>` | `getODataSegments()` Gets OData path segments as immutable list.
    `List<PathSegment>` | `getPrecedingSegments()` Gets preceding path segments.
    `URI` | `getRequestUri()` Get the absolute request URI including any query parameters.
    `URI` | `getServiceRoot()` Gets the root URI of this service.

- - ### Method Detail

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

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