Class HttpSessionDestroyedEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpSessionDestroyedEvent​(javax.servlet.http.HttpSession session)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()  
      java.util.List<SecurityContext> getSecurityContexts()
      Provides the SecurityContext instances which were associated with the destroyed session.
      javax.servlet.http.HttpSession getSession()  
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

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

      • HttpSessionDestroyedEvent

        public HttpSessionDestroyedEvent​(javax.servlet.http.HttpSession session)
    • Method Detail

      • getSession

        public javax.servlet.http.HttpSession getSession()
      • getSecurityContexts

        public java.util.List<SecurityContext> getSecurityContexts()
        Description copied from class: SessionDestroyedEvent
        Provides the SecurityContext instances which were associated with the destroyed session. Usually there will be only one security context per session.
        Specified by:
        getSecurityContexts in class SessionDestroyedEvent
        Returns:
        the SecurityContext instances which were stored in the current session (an empty list if there are none).
      • getId

        public java.lang.String getId()
        Specified by:
        getId in class SessionDestroyedEvent
        Returns:
        the identifier associated with the destroyed session.