Class AbstractMatcher
java.lang.Object
org.mapfish.print.processor.http.matcher.AbstractMatcher
- All Implemented Interfaces:
ConfigurationObject,URIMatcher
- Direct Known Subclasses:
AcceptAllMatcher,HostMatcher
Base matcher for checking that URIs are authorized or denied.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mapfish.print.config.ConfigurationObject
validateMethods inherited from interface org.mapfish.print.processor.http.matcher.URIMatcher
matches
-
Constructor Details
-
AbstractMatcher
public AbstractMatcher()
-
-
Method Details
-
isReject
public final boolean isReject()Description copied from interface:URIMatcherIf true and the matcher accepts the uri, the request needs to be rejected.- Specified by:
isRejectin interfaceURIMatcher
-
setReject
public final void setReject(boolean reject) Reverses the matcher. Instead of accepting an URI when the URI matches, the URI is rejected.- Parameters:
reject- Should reject?
-