Class HttpSessionStore.SessionBindingListener

  • All Implemented Interfaces:
    Serializable, EventListener, javax.servlet.http.HttpSessionBindingListener
    Enclosing class:
    HttpSessionStore

    protected static final class HttpSessionStore.SessionBindingListener
    extends Object
    implements javax.servlet.http.HttpSessionBindingListener, Serializable
    Reacts on unbinding from the session by cleaning up the session related data.
    See Also:
    Serialized Form
    • Constructor Detail

      • SessionBindingListener

        public SessionBindingListener​(String applicationKey,
                                      Session wicketSession)
        Construct.
        Parameters:
        applicationKey - The unique key of the application within this web application
        wicketSession - The Wicket Session associated with the expiring http session
    • Method Detail

      • valueBound

        public void valueBound​(javax.servlet.http.HttpSessionBindingEvent evg)
        Specified by:
        valueBound in interface javax.servlet.http.HttpSessionBindingListener
      • valueUnbound

        public void valueUnbound​(javax.servlet.http.HttpSessionBindingEvent evt)
        Specified by:
        valueUnbound in interface javax.servlet.http.HttpSessionBindingListener