Save This Page
Home » apache-tomcat-6.0.16-src » javax » servlet » [javadoc | source]
javax.servlet
public interface: ServletRequestListener [javadoc | source]

All Implemented Interfaces:
    EventListener

A ServletRequestListener can be implemented by the developer interested in being notified of requests coming in and out of scope in a web component. A request is defined as coming into scope when it is about to enter the first servlet or filter in each web application, as going out of scope when it exits the last servlet or the first filter in the chain.
Method from javax.servlet.ServletRequestListener Summary:
requestDestroyed,   requestInitialized
Method from javax.servlet.ServletRequestListener Detail:
 public  void requestDestroyed(ServletRequestEvent sre)
    The request is about to go out of scope of the web application.
 public  void requestInitialized(ServletRequestEvent sre)
    The request is about to come into scope of the web application.