Package org.eclipse.jetty.http.pathmap
Class UriTemplatePathSpec.UriTemplateMatchedPath
java.lang.Object
org.eclipse.jetty.http.pathmap.UriTemplatePathSpec.UriTemplateMatchedPath
- All Implemented Interfaces:
MatchedPath
- Enclosing class:
UriTemplatePathSpec
private static class UriTemplatePathSpec.UriTemplateMatchedPath
extends Object
implements MatchedPath
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Matcher
private final String
private final UriTemplatePathSpec
Fields inherited from interface org.eclipse.jetty.http.pathmap.MatchedPath
EMPTY
-
Constructor Summary
ConstructorsConstructorDescriptionUriTemplateMatchedPath
(UriTemplatePathSpec uriTemplatePathSpec, String path, Matcher matcher) -
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
-
UriTemplateMatchedPath
public UriTemplateMatchedPath(UriTemplatePathSpec uriTemplatePathSpec, String path, Matcher matcher)
-
-
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
-