public class SessionListenerBridge extends Object implements SessionListener
SessionListener.SessionDestroyedReason| Constructor and Description |
|---|
SessionListenerBridge(ThreadSetupAction threadSetup,
ApplicationListeners applicationListeners,
javax.servlet.ServletContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(Session session,
String name,
Object value) |
void |
attributeRemoved(Session session,
String name,
Object old) |
void |
attributeUpdated(Session session,
String name,
Object value,
Object old) |
void |
sessionCreated(Session session,
HttpServerExchange exchange)
Called when a session is created
|
void |
sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason)
Called when a session is destroyed
|
void |
sessionIdChanged(Session session,
String oldSessionId) |
public SessionListenerBridge(ThreadSetupAction threadSetup, ApplicationListeners applicationListeners, javax.servlet.ServletContext servletContext)
public void sessionCreated(Session session, HttpServerExchange exchange)
SessionListenersessionCreated in interface SessionListenersession - The new sessionexchange - The HttpServerExchange that created the sessionpublic void sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)
SessionListenersessionDestroyed in interface SessionListenersession - The new sessionexchange - The HttpServerExchange that destroyed the session, or null if the session timed outpublic void attributeAdded(Session session, String name, Object value)
attributeAdded in interface SessionListenerpublic void attributeUpdated(Session session, String name, Object value, Object old)
attributeUpdated in interface SessionListenerpublic void attributeRemoved(Session session, String name, Object old)
attributeRemoved in interface SessionListenerpublic void sessionIdChanged(Session session, String oldSessionId)
sessionIdChanged in interface SessionListenerCopyright © 2013 JBoss by Red Hat. All rights reserved.