Package io.micronaut.core.util
Class RegexPathMatcher
java.lang.Object
io.micronaut.core.util.RegexPathMatcher
- All Implemented Interfaces:
PathMatcher
PathMatcher implementation for regex-style patterns.
- Since:
- 3.1
- Author:
- Rafael Acevedo
-
Field Summary
Fields inherited from interface io.micronaut.core.util.PathMatcher
ANT, REGEX
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RegexPathMatcher
public RegexPathMatcher()
-
-
Method Details
-
matches
Description copied from interface:PathMatcher
Returnstrue
if the givensource
matches the specifiedpattern
,false
otherwise.- Specified by:
matches
in interfacePathMatcher
- Parameters:
pattern
- the pattern to match againstsource
- the source to match- Returns:
true
if the givensource
matches the specifiedpattern
,false
otherwise.
-