Class PathInfoImpl

java.lang.Object
org.apache.olingo.odata2.core.PathInfoImpl
All Implemented Interfaces:
PathInfo

public class PathInfoImpl extends Object implements PathInfo
  • Constructor Details

    • PathInfoImpl

      public PathInfoImpl()
  • Method Details

    • setODataPathSegment

      public void setODataPathSegment(List<PathSegment> odataPathSegment)
    • setPrecedingPathSegment

      public void setPrecedingPathSegment(List<PathSegment> precedingPathSegment)
    • setServiceRoot

      public void setServiceRoot(URI uri)
    • getPrecedingSegments

      public List<PathSegment> getPrecedingSegments()
      Description copied from interface: PathInfo
      Gets preceding path segments.
      Specified by:
      getPrecedingSegments in interface PathInfo
      Returns:
      List of path segments
    • getODataSegments

      public List<PathSegment> getODataSegments()
      Description copied from interface: PathInfo
      Gets OData path segments as immutable list.
      Specified by:
      getODataSegments in interface PathInfo
      Returns:
      List of path segments
    • getServiceRoot

      public URI getServiceRoot()
      Description copied from interface: PathInfo
      Gets the root URI of this service. This includes any segments which can be found in the preceding segments list.
      Specified by:
      getServiceRoot in interface PathInfo
      Returns:
      absolute base URI of the request
    • getRequestUri

      public URI getRequestUri()
      Description copied from interface: PathInfo
      Get the absolute request URI including any query parameters.
      Specified by:
      getRequestUri in interface PathInfo
      Returns:
      the absolute request URI
    • setRequestUri

      public void setRequestUri(URI requestUri)