ServletRequestListener (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.servlet Interface ServletRequestListener

所有父接口:
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.

从以下版本开始:
Servlet 2.4

方法摘要
 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.
 

方法详细信息

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.


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.