Class CsrfPreventionFilter.PatternPredicate

  • All Implemented Interfaces:
    java.util.function.Predicate<java.lang.String>
    Enclosing class:
    CsrfPreventionFilter

    protected static class CsrfPreventionFilter.PatternPredicate
    extends java.lang.Object
    implements java.util.function.Predicate<java.lang.String>
    A no-nonce Predicate that matches a regular expression.
    • Constructor Summary

      Constructors 
      Constructor Description
      PatternPredicate​(java.lang.String regex)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(java.lang.String t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • PatternPredicate

        public PatternPredicate​(java.lang.String regex)
    • Method Detail

      • test

        public boolean test​(java.lang.String t)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.String>