Class UriTemplatePathSpec.UriTemplateMatchedPath

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPathInfo()
      Return the portion of the path that is after the path spec.
      java.lang.String getPathMatch()
      Return the portion of the path that matches a path spec.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • path

        private final java.lang.String path
      • matcher

        private final java.util.regex.Matcher matcher
    • Constructor Detail

      • UriTemplateMatchedPath

        public UriTemplateMatchedPath​(UriTemplatePathSpec uriTemplatePathSpec,
                                      java.lang.String path,
                                      java.util.regex.Matcher matcher)
    • Method Detail

      • getPathMatch

        public java.lang.String getPathMatch()
        Description copied from interface: MatchedPath
        Return the portion of the path that matches a path spec.
        Specified by:
        getPathMatch in interface MatchedPath
        Returns:
        the path name portion of the match.
      • getPathInfo

        public java.lang.String getPathInfo()
        Description copied from interface: MatchedPath
        Return the portion of the path that is after the path spec.
        Specified by:
        getPathInfo in interface MatchedPath
        Returns:
        the path info portion of the match, or null if there is no portion after the MatchedPath.getPathMatch()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object