Class CsrfPreventionFilter.PrefixPredicate

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

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

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

      • PrefixPredicate

        public PrefixPredicate​(java.lang.String prefix)
    • Method Detail

      • test

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