|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.servlet.http Interface HttpSessionListener
- All Superinterfaces:
- EventListener
public interface HttpSessionListener
- extends EventListener
Implements:
java.util.EventListener
对 Web 应用程序中活动会话列表的更改将通知此接口的实现。要接收通知事件,必须在 Web 应用程序的部署描述符中配置实现类。
since |
| |
See also | javax.servlet.http.HttpSessionEvent |
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.
- Since:
- v 2.3
- See Also:
HttpSessionEvent
Method Summary | |
---|---|
void |
sessionCreated(HttpSessionEvent se)
Notification that a session was created. |
void |
sessionDestroyed(HttpSessionEvent se)
Notification that a session is about to be invalidated. |
Method Detail |
---|
public void
sessionCreated(HttpSessionEvent se)
通知创建了一个会话。
se | 通知事件 |
sessionCreated
void sessionCreated(HttpSessionEvent se)
- Notification that a session was created.
- Parameters:
se
- the notification event
public void
sessionDestroyed(HttpSessionEvent se)
通知某个会话即将无效。
se | 通知事件 |
sessionDestroyed
void sessionDestroyed(HttpSessionEvent se)
- Notification that a session is about to be invalidated.
- Parameters:
se
- the notification event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!