Package org.zkoss.zk.ui.http
Class HttpSessionListener23
java.lang.Object
org.zkoss.zk.ui.http.HttpSessionListener23
- All Implemented Interfaces:
EventListener,jakarta.servlet.http.HttpSessionAttributeListener,jakarta.servlet.http.HttpSessionListener,jakarta.servlet.ServletContextAttributeListener,jakarta.servlet.ServletContextListener
- Direct Known Subclasses:
HttpSessionListener
public class HttpSessionListener23
extends Object
implements jakarta.servlet.http.HttpSessionListener, jakarta.servlet.http.HttpSessionAttributeListener, jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener
The listener works with Servlet 2.3.
For servers that support Servlet 2.4 or later, please use
HttpSessionListener instead.
With this listener, there is no way to detect the modification of the request attributes.
- Since:
- 5.0.0
- Author:
- tomyeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattributeAdded(jakarta.servlet.http.HttpSessionBindingEvent evt) voidattributeAdded(jakarta.servlet.ServletContextAttributeEvent evt) voidattributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent evt) voidattributeRemoved(jakarta.servlet.ServletContextAttributeEvent evt) voidattributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent evt) voidattributeReplaced(jakarta.servlet.ServletContextAttributeEvent evt) voidcontextDestroyed(jakarta.servlet.ServletContextEvent arg0) voidcontextInitialized(jakarta.servlet.ServletContextEvent event) voidsessionCreated(jakarta.servlet.http.HttpSessionEvent evt) voidsessionDestroyed(jakarta.servlet.http.HttpSessionEvent evt)
-
Constructor Details
-
HttpSessionListener23
public HttpSessionListener23()
-
-
Method Details
-
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent evt) - Specified by:
sessionCreatedin interfacejakarta.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent evt) - Specified by:
sessionDestroyedin interfacejakarta.servlet.http.HttpSessionListener
-
attributeAdded
public void attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent evt) - Specified by:
attributeAddedin interfacejakarta.servlet.http.HttpSessionAttributeListener
-
attributeAdded
public void attributeAdded(jakarta.servlet.ServletContextAttributeEvent evt) - Specified by:
attributeAddedin interfacejakarta.servlet.ServletContextAttributeListener
-
attributeRemoved
public void attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent evt) - Specified by:
attributeRemovedin interfacejakarta.servlet.http.HttpSessionAttributeListener
-
attributeRemoved
public void attributeRemoved(jakarta.servlet.ServletContextAttributeEvent evt) - Specified by:
attributeRemovedin interfacejakarta.servlet.ServletContextAttributeListener
-
attributeReplaced
public void attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent evt) - Specified by:
attributeReplacedin interfacejakarta.servlet.http.HttpSessionAttributeListener
-
attributeReplaced
public void attributeReplaced(jakarta.servlet.ServletContextAttributeEvent evt) - Specified by:
attributeReplacedin interfacejakarta.servlet.ServletContextAttributeListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent arg0) - Specified by:
contextDestroyedin interfacejakarta.servlet.ServletContextListener
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent event) - Specified by:
contextInitializedin interfacejakarta.servlet.ServletContextListener
-