public abstract class PathUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Predicate<String> |
ant(String antPattern)
Predicate that evaluates the supplied ant pattern.
|
static Predicate<String> |
any()
Any path satisfies this condition.
|
static Boolean |
isManagementPath(String managementContextPath,
String servletPath) |
static Predicate<String> |
managementPaths(String managementContextPath) |
static Predicate<String> |
none()
No path satisfies this condition.
|
static Predicate<String> |
regex(String pathRegex)
Predicate that evaluates the supplied regular expression.
|
public static Predicate<String> any()
public static Predicate<String> none()
public static Predicate<String> regex(String pathRegex)
pathRegex
- - regexpublic static Predicate<String> ant(String antPattern)
antPattern
- - ant PatternCopyright © 2017. All rights reserved.