javax.servlet
Interface ServletRequestListener


public interface ServletRequestListener

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 the request object is created, and as going out of scope when the request object is destroyed.

Since:
Servlet 2.4

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

Method Detail

requestInitialized

public void requestInitialized(ServletRequestEvent rre)
The request is about to come into scope.

requestDestroyed

public void requestDestroyed(ServletRequestEvent rre)
The request is about to go out of scope.