Class NullSessionCache

  • All Implemented Interfaces:
    SessionCache, Container, Destroyable, Dumpable, LifeCycle

    public class NullSessionCache
    extends AbstractSessionCache
    NullSessionCache Does not actually cache any Session objects. Useful for testing. Also useful if you do not want to share Session objects with the same id between simultaneous requests: note that this means that context forwarding can't share the same id either.
    • Constructor Detail

      • NullSessionCache

        public NullSessionCache​(SessionHandler handler)
        Parameters:
        handler - The SessionHandler related to this SessionCache