Class TestHttpSessionListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionListener
    Direct Known Subclasses:
    TestHttpSessionListenerWithWebappClasses

    public class TestHttpSessionListener
    extends java.lang.Object
    implements javax.servlet.http.HttpSessionListener
    TestSessionListener
    • Field Detail

      • createdSessions

        public java.util.List<java.lang.String> createdSessions
      • destroyedSessions

        public java.util.List<java.lang.String> destroyedSessions
      • accessAttribute

        public boolean accessAttribute
      • ex

        public java.lang.Exception ex
    • Constructor Detail

      • TestHttpSessionListener

        public TestHttpSessionListener​(boolean access)
      • TestHttpSessionListener

        public TestHttpSessionListener()
    • Method Detail

      • sessionDestroyed

        public void sessionDestroyed​(javax.servlet.http.HttpSessionEvent se)
        Specified by:
        sessionDestroyed in interface javax.servlet.http.HttpSessionListener
      • sessionCreated

        public void sessionCreated​(javax.servlet.http.HttpSessionEvent se)
        Specified by:
        sessionCreated in interface javax.servlet.http.HttpSessionListener