public final class PathMatcherPredicate extends Object implements Predicate<String>
Predicate which tests random paths in String representation to match a specific pattern.
The pattern can be either a regex or glob expression. The pattern can qualify itself by using thee "glob:" or "regex:" prefixes. If no prefix is supplied, glob is assumed by default.
| Constructor and Description |
|---|
PathMatcherPredicate(String pattern)
Creates a new instance using the given pattern
|
public PathMatcherPredicate(String pattern)
pattern - the pattern to be used to test paths.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.