Package io.undertow.servlet.core
Class SessionListenerBridge
java.lang.Object
io.undertow.servlet.core.SessionListenerBridge
- All Implemented Interfaces:
SessionListener
Class that bridges between Undertow native session listeners and servlet ones.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.undertow.server.session.SessionListener
SessionListener.SessionDestroyedReason -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSessionListenerBridge(Deployment deployment, ApplicationListeners applicationListeners, jakarta.servlet.ServletContext servletContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidattributeAdded(Session session, String name, Object value) voidattributeRemoved(Session session, String name, Object old) voidattributeUpdated(Session session, String name, Object value, Object old) voidsessionCreated(Session session, HttpServerExchange exchange) voidsessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason) voidsessionIdChanged(Session session, String oldSessionId)
-
Field Details
-
IO_UNDERTOW
- See Also:
-
-
Constructor Details
-
SessionListenerBridge
public SessionListenerBridge(Deployment deployment, ApplicationListeners applicationListeners, jakarta.servlet.ServletContext servletContext)
-
-
Method Details
-
sessionCreated
- Specified by:
sessionCreatedin interfaceSessionListener
-
sessionDestroyed
public void sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason) - Specified by:
sessionDestroyedin interfaceSessionListener
-
attributeAdded
- Specified by:
attributeAddedin interfaceSessionListener
-
attributeUpdated
- Specified by:
attributeUpdatedin interfaceSessionListener
-
attributeRemoved
- Specified by:
attributeRemovedin interfaceSessionListener
-
sessionIdChanged
- Specified by:
sessionIdChangedin interfaceSessionListener
-