HttpSessionEvent (Java EE 5)

Java EE API


javax.servlet.http Class HttpSessionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.servlet.http.HttpSessionEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpSessionBindingEvent

public class HttpSessionEvent
extends EventObject

Extends: java.util.EventObject

这是表示 Web 应用程序内会话更改的事件通知的类。
英文文档:

This is the class representing event notifications for changes to sessions within a web application.

Since:
v 2.3
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
 
Constructor Summary
 
Method Summary
 HttpSession
 
Methods inherited from class java.util.EventObject
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public HttpSessionEvent(HttpSession source)
构造来自给定源的会话事件。
英文文档:

HttpSessionEvent

public HttpSessionEvent(HttpSession source)
Construct a session event from the given source.

Method Detail

public HttpSession getSession()
返回更改的会话。
英文文档:

getSession

public HttpSession getSession()
Return the session that changed.



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!