javax.servlet.ServletRequestListener翻译

 
JavaTM 2 Platform
Ent. Ed. v1.4

javax.servlet
Interface ServletRequestListener

All Superinterfaces:
EventListener

public interface ServletRequestListener extends EventListener

Implementations of this interface recieve notifications about changes to the servlet request of the web application they are part of. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application. 实现该接口会接收到web应用程序的servlet请求改变的通知。 为了接收到通知事件,实现类必须为web应用程序配置部署描述符。

Since:
v 2.4
See Also:
ServletContextEvent

Method Summary
 voidrequestDestroyed(ServletRequestEvent sre)
          Notification that the servlet request is about to go out of scope. 通知servlet请求将不在范围内。
 voidrequestInitialized(ServletRequestEvent sre)
          Notification that the servlet request is about to go into scope. 通知servlet请求将进入范围内。
 

Method Detail

requestDestroyed

public void requestDestroyed(ServletRequestEvent sre)
Notification that the servlet request is about to go out of scope. 通知servlet请求将不在范围内。


requestInitialized

public void requestInitialized(ServletRequestEvent sre)
Notification that the servlet request is about to go into scope. 通知servlet请求将进入范围内。


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值