private static class AntPathMatcher.AntPatternComparator.PatternInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
catchAllPattern |
private int |
doubleWildcards |
private java.lang.Integer |
length |
private java.lang.String |
pattern |
private boolean |
prefixPattern |
private int |
singleWildcards |
private int |
uriVars |
Constructor and Description |
---|
PatternInfo(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
int |
getDoubleWildcards() |
int |
getLength()
Returns the length of the given pattern, where template variables are considered to be 1 long.
|
int |
getSingleWildcards() |
int |
getTotalCount() |
int |
getUriVars() |
protected void |
initCounters() |
boolean |
isLeastSpecific() |
boolean |
isPrefixPattern() |
@Nullable private final java.lang.String pattern
private int uriVars
private int singleWildcards
private int doubleWildcards
private boolean catchAllPattern
private boolean prefixPattern
@Nullable private java.lang.Integer length
public PatternInfo(@Nullable java.lang.String pattern)
protected void initCounters()
public int getUriVars()
public int getSingleWildcards()
public int getDoubleWildcards()
public boolean isLeastSpecific()
public boolean isPrefixPattern()
public int getTotalCount()
public int getLength()