public final class AcceptAllMatcher extends AbstractMatcher
| Modifier and Type | Field and Description |
|---|---|
static AcceptAllMatcher |
INSTANCE
A singleton instance to reduce creating unnecessary instances.
|
| Constructor and Description |
|---|
AcceptAllMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(MatchInfo matchInfo)
Check if the uri is matching.
|
java.lang.String |
toString() |
void |
validate(java.util.List<java.lang.Throwable> validationErrors,
Configuration configuration)
validate that the configuration was correct.
|
isReject, setRejectpublic static final AcceptAllMatcher INSTANCE
public void validate(java.util.List<java.lang.Throwable> validationErrors,
Configuration configuration)
ConfigurationObjectvalidationErrors - a list to add any detected errors to.configuration - the containing configurationpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean matches(MatchInfo matchInfo)
URIMatchermatchInfo - the matching information to check