Class AcceptAllMatcher
- java.lang.Object
-
- org.mapfish.print.processor.http.matcher.AbstractMatcher
-
- org.mapfish.print.processor.http.matcher.AcceptAllMatcher
-
- All Implemented Interfaces:
ConfigurationObject
,URIMatcher
public final class AcceptAllMatcher extends AbstractMatcher
A matcher that always returns true. [[examples=http_processors]]
-
-
Field Summary
Fields Modifier and Type Field Description static AcceptAllMatcher
INSTANCE
A singleton instance to reduce creating unnecessary instances.
-
Constructor Summary
Constructors Constructor Description AcceptAllMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.mapfish.print.processor.http.matcher.AbstractMatcher
isReject, setReject
-
-
-
-
Field Detail
-
INSTANCE
public static final AcceptAllMatcher INSTANCE
A singleton instance to reduce creating unnecessary instances.
-
-
Method Detail
-
validate
public void validate(java.util.List<java.lang.Throwable> validationErrors, Configuration configuration)
Description copied from interface:ConfigurationObject
validate that the configuration was correct.- Parameters:
validationErrors
- a list to add any detected errors to.configuration
- the containing configuration
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
matches
public boolean matches(MatchInfo matchInfo)
Description copied from interface:URIMatcher
Check if the uri is matching.- Parameters:
matchInfo
- the matching information to check- Returns:
- true if the uri is matching or false otherwise
-
-