Package freemarker.ext.jakarta.jsp
Class EventForwarding
java.lang.Object
freemarker.ext.jakarta.jsp.EventForwarding
- All Implemented Interfaces:
jakarta.servlet.http.HttpSessionAttributeListener
,jakarta.servlet.http.HttpSessionListener
,jakarta.servlet.ServletContextAttributeListener
,jakarta.servlet.ServletContextListener
,EventListener
public class EventForwarding
extends Object
implements jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener, jakarta.servlet.http.HttpSessionListener, jakarta.servlet.http.HttpSessionAttributeListener
An instance of this class should be registered as a
<listener>
in
the web.xml
descriptor in order to correctly dispatch events to
event listeners that are specified in TLD files.
Note that this is for the legacy "javax" Servlet/JSP API; for Jakarta (that is, in modern Servlet containers), use
freemarker.ext.jakarta.jsp.EventForwarding
instead (since 2.3.33).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent arg0)
void
attributeAdded(jakarta.servlet.ServletContextAttributeEvent arg0)
void
attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent arg0)
void
attributeRemoved(jakarta.servlet.ServletContextAttributeEvent arg0)
void
attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent arg0)
void
attributeReplaced(jakarta.servlet.ServletContextAttributeEvent arg0)
void
contextDestroyed(jakarta.servlet.ServletContextEvent arg0)
void
contextInitialized(jakarta.servlet.ServletContextEvent arg0)
void
sessionCreated(jakarta.servlet.http.HttpSessionEvent arg0)
void
sessionDestroyed(jakarta.servlet.http.HttpSessionEvent arg0)
-
Constructor Details
-
EventForwarding
public EventForwarding()
-
-
Method Details
-
attributeAdded
public void attributeAdded(jakarta.servlet.ServletContextAttributeEvent arg0)- Specified by:
attributeAdded
in interfacejakarta.servlet.ServletContextAttributeListener
-
attributeRemoved
public void attributeRemoved(jakarta.servlet.ServletContextAttributeEvent arg0)- Specified by:
attributeRemoved
in interfacejakarta.servlet.ServletContextAttributeListener
-
attributeReplaced
public void attributeReplaced(jakarta.servlet.ServletContextAttributeEvent arg0)- Specified by:
attributeReplaced
in interfacejakarta.servlet.ServletContextAttributeListener
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent arg0)- Specified by:
contextInitialized
in interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent arg0)- Specified by:
contextDestroyed
in interfacejakarta.servlet.ServletContextListener
-
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent arg0)- Specified by:
sessionCreated
in interfacejakarta.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent arg0)- Specified by:
sessionDestroyed
in interfacejakarta.servlet.http.HttpSessionListener
-
attributeAdded
public void attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent arg0)- Specified by:
attributeAdded
in interfacejakarta.servlet.http.HttpSessionAttributeListener
-
attributeRemoved
public void attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent arg0)- Specified by:
attributeRemoved
in interfacejakarta.servlet.http.HttpSessionAttributeListener
-
attributeReplaced
public void attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent arg0)- Specified by:
attributeReplaced
in interfacejakarta.servlet.http.HttpSessionAttributeListener
-