HttpSessionEventPublisher

class HttpSessionEventPublisher(em: EventMulticaster) extends HttpSessionListener

Publishes HttpSessionApplicationEvents to the Bean Root Context. Maps jakarta.servlet.http.HttpSessionListener.sessionCreated() to [[HttpSessionCreationEvent]]. Maps jakarta.servlet.http.HttpSessionListener.sessionDestroyed() to [[HttpSessionDestroyedEvent]].

trait HttpSessionListener
trait EventListener
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def sessionCreated(event: HttpSessionEvent): Unit

Handles the HttpSessionEvent by publishing a [[HttpSessionCreationEvent]] to the application appContext.

Handles the HttpSessionEvent by publishing a [[HttpSessionCreationEvent]] to the application appContext.

Value Params
event

HttpSessionEvent passed in by the container

Definition Classes
HttpSessionListener
override
def sessionDestroyed(event: HttpSessionEvent): Unit

Handles the HttpSessionEvent by publishing a [[HttpSessionDestroyedEvent]] to the application appContext.

Handles the HttpSessionEvent by publishing a [[HttpSessionDestroyedEvent]] to the application appContext.

Value Params
event

The HttpSessionEvent pass in by the container

Definition Classes
HttpSessionListener