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 Details

    • EventForwarding

      public EventForwarding()
  • Method Details

    • attributeAdded

      public void attributeAdded(jakarta.servlet.ServletContextAttributeEvent arg0)
      Specified by:
      attributeAdded in interface jakarta.servlet.ServletContextAttributeListener
    • attributeRemoved

      public void attributeRemoved(jakarta.servlet.ServletContextAttributeEvent arg0)
      Specified by:
      attributeRemoved in interface jakarta.servlet.ServletContextAttributeListener
    • attributeReplaced

      public void attributeReplaced(jakarta.servlet.ServletContextAttributeEvent arg0)
      Specified by:
      attributeReplaced in interface jakarta.servlet.ServletContextAttributeListener
    • contextInitialized

      public void contextInitialized(jakarta.servlet.ServletContextEvent arg0)
      Specified by:
      contextInitialized in interface jakarta.servlet.ServletContextListener
    • contextDestroyed

      public void contextDestroyed(jakarta.servlet.ServletContextEvent arg0)
      Specified by:
      contextDestroyed in interface jakarta.servlet.ServletContextListener
    • sessionCreated

      public void sessionCreated(jakarta.servlet.http.HttpSessionEvent arg0)
      Specified by:
      sessionCreated in interface jakarta.servlet.http.HttpSessionListener
    • sessionDestroyed

      public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent arg0)
      Specified by:
      sessionDestroyed in interface jakarta.servlet.http.HttpSessionListener
    • attributeAdded

      public void attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent arg0)
      Specified by:
      attributeAdded in interface jakarta.servlet.http.HttpSessionAttributeListener
    • attributeRemoved

      public void attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent arg0)
      Specified by:
      attributeRemoved in interface jakarta.servlet.http.HttpSessionAttributeListener
    • attributeReplaced

      public void attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent arg0)
      Specified by:
      attributeReplaced in interface jakarta.servlet.http.HttpSessionAttributeListener