public final class AcceptAllMatcher extends java.lang.Object implements URIMatcher
| 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 |
accepts(MatchInfo matchInfo)
Check if the uri is permitted, return true if the uri is accepted or false otherwise.
|
java.lang.String |
toString() |
void |
validate(java.util.List<java.lang.Throwable> validationErrors,
Configuration configuration)
validate that the configuration was correct.
|
public static final AcceptAllMatcher INSTANCE
public void validate(java.util.List<java.lang.Throwable> validationErrors,
Configuration configuration)
ConfigurationObjectvalidate in interface ConfigurationObjectvalidationErrors - a list to add any detected errors to.configuration - the containing configurationpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean accepts(MatchInfo matchInfo) throws java.net.UnknownHostException, java.net.SocketException, java.net.MalformedURLException
URIMatcheraccepts in interface URIMatchermatchInfo - the matching information to checkjava.net.UnknownHostExceptionjava.net.SocketExceptionjava.net.MalformedURLException