Class HttpSessionListener

java.lang.Object
org.zkoss.zk.ui.http.HttpSessionListener23
org.zkoss.zk.ui.http.HttpSessionListener
All Implemented Interfaces:
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 Details

    • HttpSessionListener

      public HttpSessionListener()
  • Method Details

    • 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