Class PathSegmentImpl

  • All Implemented Interfaces:
    jakarta.ws.rs.core.PathSegment

    public class PathSegmentImpl
    extends Object
    implements jakarta.ws.rs.core.PathSegment
    Author:
    Bill Burke
    • 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()
        Specified by:
        getPath in interface jakarta.ws.rs.core.PathSegment
      • getMatrixParameters

        public jakarta.ws.rs.core.MultivaluedMap<String,​String> getMatrixParameters()
        Specified by:
        getMatrixParameters in interface jakarta.ws.rs.core.PathSegment
      • parseSegments

        public static List<jakarta.ws.rs.core.PathSegment> parseSegments​(String path,
                                                                         boolean decode)