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 TypeMethodDescriptionvoidaddSessionListener(SessionListener listener) voidattributeAdded(Session session, String name, Object value) voidattributeRemoved(Session session, String name, Object oldValue) voidattributeUpdated(Session session, String name, Object newValue, Object oldValue) voidclear()booleanremoveSessionListener(SessionListener listener) voidsessionCreated(Session session, HttpServerExchange exchange) voidsessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason) voidsessionIdChanged(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
-