Package io.undertow.server.session
Class SessionListeners
java.lang.Object
io.undertow.server.session.SessionListeners
Utility class that maintains the session listeners.
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSessionListener
(SessionListener listener) void
attributeAdded
(Session session, String name, Object value) void
attributeRemoved
(Session session, String name, Object oldValue) void
attributeUpdated
(Session session, String name, Object newValue, Object oldValue) void
clear()
boolean
removeSessionListener
(SessionListener listener) void
sessionCreated
(Session session, HttpServerExchange exchange) void
sessionDestroyed
(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason) void
sessionIdChanged
(Session session, String oldSessionId)
-
Constructor Details
-
SessionListeners
public SessionListeners()
-
-
Method Details
-
addSessionListener
-
removeSessionListener
-
clear
public void clear() -
sessionCreated
-
sessionDestroyed
public void sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason) -
attributeAdded
-
attributeUpdated
-
attributeRemoved
-
sessionIdChanged
-