Class PathMatcher
- java.lang.Object
-
- org.nuxeo.ecm.webengine.jaxrs.servlet.mapping.PathMatcher
-
public class PathMatcher extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description static PathMatcher
ANY
protected SegmentMatcher[]
matchers
-
Constructor Summary
Constructors Constructor Description PathMatcher(SegmentMatcher... matchers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PathMatcher
compile(String path)
static PathMatcher
compile(Path path)
boolean
matches(String path)
boolean
matches(String[] segments, int soff, int moff)
boolean
matches(Path path)
String
toString()
-
-
-
Field Detail
-
ANY
public static final PathMatcher ANY
-
matchers
protected final SegmentMatcher[] matchers
-
-
Constructor Detail
-
PathMatcher
public PathMatcher(SegmentMatcher... matchers)
-
-
Method Detail
-
matches
public boolean matches(String path)
-
matches
public boolean matches(Path path)
-
matches
public boolean matches(String[] segments, int soff, int moff)
-
compile
public static PathMatcher compile(String path)
-
compile
public static PathMatcher compile(Path path)
-
-