Class PathSegmentImpl

    • Constructor Detail

      • PathSegmentImpl

        public PathSegmentImpl​(String segment,
                               boolean decode)
        Parameters:
        segment - encoded path segment
        decode - whether or not to decode values
    • Method Detail

      • hasMatrixParams

        public boolean hasMatrixParams()
        NOTE: Used for optimization in ResteasyUriInfo
        Returns:
        true if path segment contains matrix parameters
      • getOriginal

        public String getOriginal()
      • getPath

        public String getPath()
        Description copied from interface: PathSegment
        Get the path segment.
        Specified by:
        getPath in interface PathSegment
        Returns:
        the path segment
      • getMatrixParameters

        public MultivaluedMap<String,​String> getMatrixParameters()
        Description copied from interface: PathSegment
        Get a map of the matrix parameters associated with the path segment. The map keys are the names of the matrix parameters with any percent-escaped octets decoded.
        Specified by:
        getMatrixParameters in interface PathSegment
        Returns:
        the map of matrix parameters
        See Also:
        Matrix URIs