CsrfPreventionFilter.SuffixPredicate (Apache Tomcat 11.0.23 API Documentation)
Description: declaration: package: org.apache.catalina.filters, class: CsrfPreventionFilter, class: SuffixPredicate

# Class CsrfPreventionFilter.SuffixPredicate

java.lang.Object
org.apache.catalina.filters.CsrfPreventionFilter.SuffixPredicate

All Implemented Interfaces:
  `Predicate<String>`

Enclosing class:
  `CsrfPreventionFilter`

protected static class CsrfPreventionFilter.SuffixPredicate extends Object implements Predicate<String>
A no-nonce Predicate that matches a suffix.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SuffixPredicate(String suffix)`
  Construct a new SuffixPredicate.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `test(String t)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Predicate

  `and, negate, or`

- ## Constructor Details

  - ### SuffixPredicate

    public SuffixPredicate(String suffix)
    Construct a new SuffixPredicate.
    Parameters:
      `suffix` - The suffix to match

- ## Method Details

  - ### test

    public boolean test(String t)
    Specified by:
      `test` in interface `Predicate<String>`