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 Details

    • INSTANCE

      public static final AcceptAllMatcher INSTANCE
      A singleton instance to reduce creating unnecessary instances.
  • Constructor Details

    • AcceptAllMatcher

      public AcceptAllMatcher()
  • Method Details

    • validate

      public void validate(List<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 String toString()
      Overrides:
      toString in class 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