Top Description Fields Constructors Methods
jakarta.servlet.http

public Class HttpSessionEvent

extends EventObject
Class Inheritance
Known Direct Subclasses
jakarta.servlet.http.HttpSessionBindingEvent

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

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
HttpSessionEvent(HttpSession
the HttpSession corresponding to this event
source
)

Construct a session event from the given source.

Method Summary

Modifier and TypeMethod and Description
public HttpSession

Returns:

the HttpSession for this event.
getSession
()

Return the session that changed.

Inherited from java.util.EventObject:
getSourcetoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

Constructor Detail

HttpSessionEventback to summary
public HttpSessionEvent(HttpSession source)

Construct a session event from the given source.

Parameters
source:HttpSession

the HttpSession corresponding to this event

Method Detail

getSessionback to summary
public HttpSession getSession()

Return the session that changed.

Returns:HttpSession

the HttpSession for this event.