Class AbstractMatcher

java.lang.Object
org.mapfish.print.processor.http.matcher.AbstractMatcher
All Implemented Interfaces:
ConfigurationObject, URIMatcher
Direct Known Subclasses:
AcceptAllMatcher, HostMatcher

public abstract class AbstractMatcher extends Object implements URIMatcher
Base matcher for checking that URIs are authorized or denied.
  • Constructor Details

    • AbstractMatcher

      public AbstractMatcher()
  • Method Details

    • isReject

      public final boolean isReject()
      Description copied from interface: URIMatcher
      If true and the matcher accepts the uri, the request needs to be rejected.
      Specified by:
      isReject in interface URIMatcher
    • 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?