Class AcceptAllMatcher

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static AcceptAllMatcher INSTANCE
      A singleton instance to reduce creating unnecessary instances.
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • INSTANCE

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

      • AcceptAllMatcher

        public AcceptAllMatcher()
    • 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 class java.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