Package org.eclipse.jetty.http.pathmap
Class RegexPathSpec.RegexMatchedPath
java.lang.Object
org.eclipse.jetty.http.pathmap.RegexPathSpec.RegexMatchedPath
- All Implemented Interfaces:
MatchedPath
- Enclosing class:
RegexPathSpec
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Matcher
private final String
private final RegexPathSpec
Fields inherited from interface org.eclipse.jetty.http.pathmap.MatchedPath
EMPTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the portion of the path that is after the path spec.Return the portion of the path that matches a path spec.toString()
-
Field Details
-
pathSpec
-
path
-
matcher
-
-
Constructor Details
-
RegexMatchedPath
-
-
Method Details
-
getPathMatch
Description copied from interface:MatchedPath
Return the portion of the path that matches a path spec.- Specified by:
getPathMatch
in interfaceMatchedPath
- Returns:
- the path name portion of the match.
-
getPathInfo
Description copied from interface:MatchedPath
Return the portion of the path that is after the path spec.- Specified by:
getPathInfo
in interfaceMatchedPath
- Returns:
- the path info portion of the match, or null if there is no portion after the
MatchedPath.getPathMatch()
-
toString
-