public class SessionListeners extends Object
Constructor and Description |
---|
SessionListeners() |
Modifier and Type | Method and 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) |
public void addSessionListener(SessionListener listener)
public boolean removeSessionListener(SessionListener listener)
public void clear()
public void sessionCreated(Session session, HttpServerExchange exchange)
public void sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)
public void attributeUpdated(Session session, String name, Object newValue, Object oldValue)
Copyright © 2020 JBoss by Red Hat. All rights reserved.