Package org.apache.catalina
Class SessionEvent
java.lang.Object
java.util.EventObject
org.apache.catalina.SessionEvent
- All Implemented Interfaces:
Serializable
General event for notifying listeners of significant changes on a Session.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSessionEvent(Session session, String type, Object data) Construct a new SessionEvent with the specified parameters. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
SessionEvent
Construct a new SessionEvent with the specified parameters.- Parameters:
session- Session on which this event occurredtype- Event typedata- Event data
-
-
Method Details
-
getData
Returns the event data of this event.- Returns:
- the event data
-
getSession
Returns the Session on which this event occurred.- Returns:
- the session
-
getType
Returns the event type of this event.- Returns:
- the event type
-
toString
- Overrides:
toStringin classEventObject
-