javax.servlet
Interface ServletRequestListener

All Superinterfaces:
java.util.EventListener

public interface ServletRequestListener
extends java.util.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 requestCompleted(ServletRequestEvent rre)
          A request has been completed.
 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.
 void requestResumed(ServletRequestEvent rre)
          A request has been resumed.
 void requestSuspended(ServletRequestEvent rre)
          A request has been suspended.
 

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.


requestSuspended

void requestSuspended(ServletRequestEvent rre)
A request has been suspended. Called by the thread that dispatched the servlet when it has returned to the container.

Since:
3.0

requestResumed

void requestResumed(ServletRequestEvent rre)
A request has been resumed. Called by the thread that will dispatch to the servlet immediately before dispatch.

Since:
3.0

requestCompleted

void requestCompleted(ServletRequestEvent rre)
A request has been completed. Called from a call to

Since:
3.0


Copyright © 1995-2008 Mort Bay Consulting. All Rights Reserved.