javax.servlet.http.HttpSessionListener翻译

<!-- ========= START OF TOP NAVBAR ======= --> <!-- -->
JavaTM 2 Platform
Ent. Ed. v1.4
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== -->

javax.servlet.http
Interface HttpSessionListener

All Superinterfaces:
EventListener
public interface HttpSessionListener extends EventListener

Implementations of this interface are notified of changes to the list of active sessions in a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application. web应用中激活的会话列表中有变更,会通知该接口的实现。为了接收通知事件, 该实现类必须在web应用的部署描述符中配置。

Since:
v 2.3
See Also:
HttpSessionEvent

<!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><!-- -->

Method Summary
void sessionCreated(HttpSessionEventse)
Notification that a session was created. 通知会话已创建。
void sessionDestroyed(HttpSessionEventse)
Notification that a session is about to be invalidated. 通知会话将失效。

<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><!-- -->

Method Detail
<!-- -->

sessionCreated

Notification that a session was created. 通知会话已创建。
Parameters:
se - the notification event 通知事件
<!-- -->

sessionDestroyed

Notification that a session is about to be invalidated. 通知会话将失效。
Parameters:
se - the notification event 通知事件
<!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- -->
JavaTM 2 Platform
Ent. Ed. v1.4
<!-- ======== END OF BOTTOM NAVBAR ======= --> Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值