Package io.undertow.server.session
Class SessionListeners
- java.lang.Object
-
- io.undertow.server.session.SessionListeners
-
public class SessionListeners extends Object
Utility class that maintains the session listeners.- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description SessionListeners()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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)
-
-
-
Method Detail
-
addSessionListener
public void addSessionListener(SessionListener listener)
-
removeSessionListener
public boolean removeSessionListener(SessionListener listener)
-
clear
public void clear()
-
sessionCreated
public void sessionCreated(Session session, HttpServerExchange exchange)
-
sessionDestroyed
public void sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)
-
attributeUpdated
public void attributeUpdated(Session session, String name, Object newValue, Object oldValue)
-
-