Initializer
Matcher()
Inherited Attributes
Attributes inherited from: Object
Methods
andSource Codeshared Matcher and(Matcher other)
matchesSource Codeshared formal Boolean matches(String path)
orSource Codeshared Matcher or(Matcher other)
relativePathSource Codeshared default String relativePath(String requestPath)

Deprecated:

Returns requestPath with truncated matched path. Note that relative path should be used only when using startsWith() matcher without and() condition. endsWith() and and() are ignored while constructing relative path. endsWith() and and() returns unmodified requestPath.

Inherited Methods
Methods inherited from: Object