public class SessionListenerBridge extends Object implements SessionListener
SessionListener.SessionDestroyedReason
Modifier and Type | Field and Description |
---|---|
static String |
IO_UNDERTOW |
Constructor and Description |
---|
SessionListenerBridge(Deployment deployment,
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) |
void |
sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason) |
void |
sessionIdChanged(Session session,
String oldSessionId) |
public static final String IO_UNDERTOW
public SessionListenerBridge(Deployment deployment, ApplicationListeners applicationListeners, javax.servlet.ServletContext servletContext)
public void sessionCreated(Session session, HttpServerExchange exchange)
sessionCreated
in interface SessionListener
public void sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)
sessionDestroyed
in interface SessionListener
public void attributeAdded(Session session, String name, Object value)
attributeAdded
in interface SessionListener
public void attributeUpdated(Session session, String name, Object value, Object old)
attributeUpdated
in interface SessionListener
public void attributeRemoved(Session session, String name, Object old)
attributeRemoved
in interface SessionListener
public void sessionIdChanged(Session session, String oldSessionId)
sessionIdChanged
in interface SessionListener
Copyright © 2019 JBoss by Red Hat. All rights reserved.