Package javax.servlet
Interface ServletRequestListener
- 
- All Superinterfaces:
- java.util.EventListener
 
 public interface ServletRequestListener extends java.util.EventListenerA 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 SummaryAll Methods Instance Methods Default Methods Modifier and Type Method Description default voidrequestDestroyed(ServletRequestEvent sre)The request is about to go out of scope of the web application.default voidrequestInitialized(ServletRequestEvent sre)The request is about to come into scope of the web application.
 
- 
- 
- 
Method Detail- 
requestDestroyeddefault void requestDestroyed(ServletRequestEvent sre) The request is about to go out of scope of the web application. The default implementation is a NO-OP.- Parameters:
- sre- Information about the request
 
 - 
requestInitializeddefault void requestInitialized(ServletRequestEvent sre) The request is about to come into scope of the web application. The default implementation is a NO-OP.- Parameters:
- sre- Information about the request
 
 
- 
 
-