Class CsrfPreventionFilter.SuffixPredicate

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

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

      Constructors 
      Constructor Description
      SuffixPredicate​(java.lang.String suffix)  
    • 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

      • SuffixPredicate

        public SuffixPredicate​(java.lang.String suffix)
    • Method Detail

      • test

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