## Uses of Interface
io.undertow.server.session.Session

Packages that use Session
io.undertow.security.impl
io.undertow.server.handlers
io.undertow.server.session
io.undertow.util

### Uses of Session in io.undertow.security.impl

Methods in io.undertow.security.impl that return Session
`protected Session` SingleSignOnAuthenticationMechanism.`getSession(HttpServerExchange exchange)`
`Session` SingleSignOn.`getSession(SessionManager manager)` Returns the session associated with the deployment of the specified session manager

Methods in io.undertow.security.impl with parameters of type Session
`void` SingleSignOn.`add(Session session)` Adds the specified session to the set of sessions to which the user is authenticated
`boolean` SingleSignOn.`contains(Session session)` Indicates whether or not the specified session is contained in the set of sessions to which the user is authenticated
`void` SingleSignOn.`remove(Session session)` Removes the specified session from the set of sessions to which the user is authenticated

### Uses of Session in io.undertow.server.handlers

Methods in io.undertow.server.handlers that return Session
`protected Session` LearningPushHandler.`getSession(HttpServerExchange exchange)`

### Uses of Session in io.undertow.server.session

Methods in io.undertow.server.session that return Session
`Session` SessionManager.`createSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig)` Creates a new session.
`Session` InMemorySessionManager.`createSession(HttpServerExchange serverExchange, SessionConfig config)`
`Session` SessionManager.`getSession(HttpServerExchange serverExchange, SessionConfig sessionCookieConfig)`
`Session` InMemorySessionManager.`getSession(HttpServerExchange serverExchange, SessionConfig config)`
`Session` SessionManager.`getSession(String sessionId)` Retrieves a session with the given session id
`Session` InMemorySessionManager.`getSession(String sessionId)`

Methods in io.undertow.server.session with parameters of type Session
`void` SessionListeners.`attributeAdded(Session session, String name, Object value)`
`default void` SessionListener.`attributeAdded(Session session, String name, Object value)`
`void` SessionListeners.`attributeRemoved(Session session, String name, Object oldValue)`
`default void` SessionListener.`attributeRemoved(Session session, String name, Object oldValue)`
`void` SessionListeners.`attributeUpdated(Session session, String name, Object newValue, Object oldValue)`
`default void` SessionListener.`attributeUpdated(Session session, String name, Object newValue, Object oldValue)`
`void` SessionListeners.`sessionCreated(Session session, HttpServerExchange exchange)`
`default void` SessionListener.`sessionCreated(Session session, HttpServerExchange exchange)` Called when a session is created
`void` SessionListeners.`sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)`
`default void` SessionListener.`sessionDestroyed(Session session, HttpServerExchange exchange, SessionListener.SessionDestroyedReason reason)` Called when a session is destroyed
`void` SessionListeners.`sessionIdChanged(Session session, String oldSessionId)`
`default void` SessionListener.`sessionIdChanged(Session session, String oldSessionId)`

### Uses of Session in io.undertow.util

Methods in io.undertow.util that return Session
`static Session` Sessions.`getOrCreateSession(HttpServerExchange exchange)` Gets the active session, creating a new one if one does not exist
`static Session` Sessions.`getSession(HttpServerExchange exchange)` Gets the active session, returning null if one is not present.