Package org.apache.catalina.filters
Class CsrfPreventionFilter.MimePredicate
java.lang.Object
org.apache.catalina.filters.CsrfPreventionFilter.MimePredicate
- All Implemented Interfaces:
- CsrfPreventionFilter.Predicate<String>
- Enclosing class:
- CsrfPreventionFilter
protected static class CsrfPreventionFilter.MimePredicate
extends Object
implements CsrfPreventionFilter.Predicate<String>
A no-nonce Predicate that evaluates a MIME type instead of a URL.
 It can be used with any other Predicate for matching
 the actual value of the MIME type.
- 
Constructor SummaryConstructorsConstructorDescriptionMimePredicate(ServletContext context, CsrfPreventionFilter.Predicate<String> predicate) 
- 
Method SummaryModifier and TypeMethodDescriptionboolean
- 
Constructor Details- 
MimePredicate
 
- 
- 
Method Details- 
test- Specified by:
- testin interface- CsrfPreventionFilter.Predicate<String>
 
- 
getPredicate
 
-