public class Pattern extends Object
Constructor and Description |
---|
Pattern() |
Pattern(String pattern,
boolean include) |
Modifier and Type | Method and Description |
---|---|
AntPathMatcher |
getAntPathMatcher() |
String |
getPattern()
if the pattern contains '?'
|
static boolean |
hasPattern(List<Pattern> patterns,
String value) |
boolean |
isExcluded() |
boolean |
isInclude()
True is is an inclusion pattern, false for an exclusion ?
|
boolean |
isIncluded() |
boolean |
match(String value) |
void |
setInclude(boolean include) |
void |
setPattern(String pattern) |
public Pattern()
public Pattern(String pattern, boolean include)
public String getPattern()
public boolean isInclude()
public AntPathMatcher getAntPathMatcher()
public boolean match(String value)
public boolean isExcluded()
public boolean isIncluded()
public void setPattern(String pattern)
public void setInclude(boolean include)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.