Package freemarker.ext.jsp
Class EventForwarding
java.lang.Object
freemarker.ext.jsp.EventForwarding
- All Implemented Interfaces:
EventListener
,javax.servlet.http.HttpSessionAttributeListener
,javax.servlet.http.HttpSessionListener
,javax.servlet.ServletContextAttributeListener
,javax.servlet.ServletContextListener
public class EventForwarding
extends Object
implements javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener, javax.servlet.http.HttpSessionListener, javax.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attributeAdded(javax.servlet.http.HttpSessionBindingEvent arg0)
void
attributeAdded(javax.servlet.ServletContextAttributeEvent arg0)
void
attributeRemoved(javax.servlet.http.HttpSessionBindingEvent arg0)
void
attributeRemoved(javax.servlet.ServletContextAttributeEvent arg0)
void
attributeReplaced(javax.servlet.http.HttpSessionBindingEvent arg0)
void
attributeReplaced(javax.servlet.ServletContextAttributeEvent arg0)
void
contextDestroyed(javax.servlet.ServletContextEvent arg0)
void
contextInitialized(javax.servlet.ServletContextEvent arg0)
void
sessionCreated(javax.servlet.http.HttpSessionEvent arg0)
void
sessionDestroyed(javax.servlet.http.HttpSessionEvent arg0)
-
Constructor Details
-
EventForwarding
public EventForwarding()
-
-
Method Details
-
attributeAdded
public void attributeAdded(javax.servlet.ServletContextAttributeEvent arg0)- Specified by:
attributeAdded
in interfacejavax.servlet.ServletContextAttributeListener
-
attributeRemoved
public void attributeRemoved(javax.servlet.ServletContextAttributeEvent arg0)- Specified by:
attributeRemoved
in interfacejavax.servlet.ServletContextAttributeListener
-
attributeReplaced
public void attributeReplaced(javax.servlet.ServletContextAttributeEvent arg0)- Specified by:
attributeReplaced
in interfacejavax.servlet.ServletContextAttributeListener
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent arg0)- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent arg0)- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent arg0)- Specified by:
sessionCreated
in interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent arg0)- Specified by:
sessionDestroyed
in interfacejavax.servlet.http.HttpSessionListener
-
attributeAdded
public void attributeAdded(javax.servlet.http.HttpSessionBindingEvent arg0)- Specified by:
attributeAdded
in interfacejavax.servlet.http.HttpSessionAttributeListener
-
attributeRemoved
public void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent arg0)- Specified by:
attributeRemoved
in interfacejavax.servlet.http.HttpSessionAttributeListener
-
attributeReplaced
public void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent arg0)- Specified by:
attributeReplaced
in interfacejavax.servlet.http.HttpSessionAttributeListener
-