Interface UriPathSegment


public interface UriPathSegment
Segment of a path.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String pathSegment)
    Create a new path segment from raw (encoded) segment value that may contain matrix parameters.
    All matrix parameters of this segment.
    The raw text value (encoded) of this path segment.
    The raw text value (encoded) of this path segment without matrix parameters.
    The text value of this path segment, without leading slash.
  • Method Details

    • create

      static UriPathSegment create(String pathSegment)
      Create a new path segment from raw (encoded) segment value that may contain matrix parameters.
      Parameters:
      pathSegment - raw path segment
      Returns:
      parsed path segment
    • value

      String value()
      The text value of this path segment, without leading slash. This will return empty string for path segments that do not have any text.
      Returns:
      decoded value of this path segment without matrix parameters
    • rawValue

      String rawValue()
      The raw text value (encoded) of this path segment.
      Returns:
      encoded value of this path segment with matrix parameters
    • rawValueNoParams

      String rawValueNoParams()
      The raw text value (encoded) of this path segment without matrix parameters.
      Returns:
      encoded value of this path segment without matrix parameters
    • matrixParameters

      Parameters matrixParameters()
      All matrix parameters of this segment.
      Returns:
      matrix parameters