javax.servlet
Interface ServletRequestListener

All Superinterfaces:
java.util.EventListener

public interface ServletRequestListener
extends java.util.EventListener

Interface for a listener receiving events when the ServletRequest changes.

Since:
Servlet 2.4

Method Summary
 void requestCompleted(ServletRequestEvent event)
          Callback when the request has completed.
 void requestDestroyed(ServletRequestEvent event)
          Callback when a ServletRequest goes out of scope
 void requestInitialized(ServletRequestEvent event)
          Callback when a ServletRequest comes into scope
 void requestResumed(ServletRequestEvent event)
          Callback when the request has been resume.
 void requestSuspended(ServletRequestEvent event)
          Callback when the request has been suspended.
 

Method Detail

requestInitialized

void requestInitialized(ServletRequestEvent event)
Callback when a ServletRequest comes into scope

Parameters:
event - the event for the context initialization

requestDestroyed

void requestDestroyed(ServletRequestEvent event)
Callback when a ServletRequest goes out of scope

Parameters:
event - the event for the context destruction

requestCompleted

void requestCompleted(ServletRequestEvent event)
Callback when the request has completed.

Since:
Servlet 3.0

requestResumed

void requestResumed(ServletRequestEvent event)
Callback when the request has been resume.

Since:
Servlet 3.0

requestSuspended

void requestSuspended(ServletRequestEvent event)
Callback when the request has been suspended.

Since:
Servlet 3.0