javax.servlet
Interface ServletRequestListener

All Superinterfaces:
EventListener

public interface ServletRequestListener
extends 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.

Since:
Servlet 2.4

Method Summary
 void requestDestroyed(ServletRequestEvent sre)
          The request is about to go out of scope of the web application.
 void requestInitialized(ServletRequestEvent sre)
          The request is about to come into scope of the web application.
 

Method Detail

requestDestroyed

void requestDestroyed(ServletRequestEvent sre)
The request is about to go out of scope of the web application.


requestInitialized

void requestInitialized(ServletRequestEvent sre)
The request is about to come into scope of the web application.


(Built by coreservlets)

As of July 2010, there were no online versions of the servlet 3.0, JSP 2.2, and EL 2.2 Javadocs, except as part of the huge Java EE 6 API. So, I built them myself from the Tomcat 7 source code.

Java EE TutorialsJava EE Training