Package org.apache.catalina.filters
Class CsrfPreventionFilter.LruCache<T>
- java.lang.Object
-
- org.apache.catalina.filters.CsrfPreventionFilter.LruCache<T>
-
- All Implemented Interfaces:
java.io.Serializable
,CsrfPreventionFilter.NonceCache<T>
- Enclosing class:
- CsrfPreventionFilter
protected static class CsrfPreventionFilter.LruCache<T> extends java.lang.Object implements CsrfPreventionFilter.NonceCache<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LruCache(int cacheSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(T key)
boolean
contains(T key)
-
-
-
Method Detail
-
add
public void add(T key)
- Specified by:
add
in interfaceCsrfPreventionFilter.NonceCache<T>
-
contains
public boolean contains(T key)
- Specified by:
contains
in interfaceCsrfPreventionFilter.NonceCache<T>
-
-