Class CsrfPreventionFilter.LruCache<T>

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    CsrfPreventionFilter

    protected static class CsrfPreventionFilter.LruCache<T>
    extends java.lang.Object
    implements java.io.Serializable
    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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LruCache

        public LruCache​(int cacheSize)
    • Method Detail

      • add

        public void add​(T key)
      • contains

        public boolean contains​(T key)