servlet listener

The servlet provides the following listeners:

  1. javax.servlet.ServletContextListener - Interface for receiving notification events about ServletContext lifecycle changes.
  2. javax.servlet.ServletContextAttributeListener - Interface to receive notification events about ServletContext attribute changes.
  3. javax.servlet.ServletRequestListener - Interface for receiving notification events about requests coming in and out of the scope of a web application.
  4. javax.servlet.ServletRequestAttributeListener - Interface to receive notification events about ServletRequest attribute changes.
  5. javax.servlet.http.HttpSessionListener - Interface to receive notification events about HttpSession lifecycle changes.
  6. javax.servlet.http.HttpSessionAttributeListener - Interface for receiving notification events about HttpSession attribute changes.
  7. javax.servlet.http.HttpSessionBindingListener - Causes objects to be notified when they are bound from session to binding or from it.
  8. javax.servlet.http.HttpSessionActivationListener - Objects bound to a session may listen to container events notifying them that the session will be passivated and that the session will be activated.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325174364&siteId=291194637