Class HttpSessionListener

  • All Implemented Interfaces:
    java.util.EventListener, jakarta.servlet.http.HttpSessionAttributeListener, jakarta.servlet.http.HttpSessionListener, jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener, jakarta.servlet.ServletRequestAttributeListener

    public class HttpSessionListener
    extends HttpSessionListener23
    implements jakarta.servlet.ServletRequestAttributeListener
    Used to clean up desktops that a session owns.

    This listener works only with Servlet 2.4 or later. For servers that support only Servlet 2.3, please use HttpSessionListener23 instead.

    Author:
    tomyeh
    • Constructor Detail

      • HttpSessionListener

        public HttpSessionListener()
    • Method Detail

      • attributeAdded

        public void attributeAdded​(jakarta.servlet.ServletRequestAttributeEvent evt)
        Specified by:
        attributeAdded in interface jakarta.servlet.ServletRequestAttributeListener
      • attributeRemoved

        public void attributeRemoved​(jakarta.servlet.ServletRequestAttributeEvent evt)
        Specified by:
        attributeRemoved in interface jakarta.servlet.ServletRequestAttributeListener
      • attributeReplaced

        public void attributeReplaced​(jakarta.servlet.ServletRequestAttributeEvent evt)
        Specified by:
        attributeReplaced in interface jakarta.servlet.ServletRequestAttributeListener