Package io.undertow.servlet.util
Class InMemorySessionPersistence
java.lang.Object
io.undertow.servlet.util.InMemorySessionPersistence
- All Implemented Interfaces:
SessionPersistenceManager
Session persistence implementation that simply stores session information in memory.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.undertow.servlet.api.SessionPersistenceManager
SessionPersistenceManager.PersistentSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
loadSessionAttributes
(String deploymentName, ClassLoader classLoader) void
persistSessions
(String deploymentName, Map<String, SessionPersistenceManager.PersistentSession> sessionData)
-
Constructor Details
-
InMemorySessionPersistence
public InMemorySessionPersistence()
-
-
Method Details
-
persistSessions
public void persistSessions(String deploymentName, Map<String, SessionPersistenceManager.PersistentSession> sessionData) - Specified by:
persistSessions
in interfaceSessionPersistenceManager
-
loadSessionAttributes
public Map<String,SessionPersistenceManager.PersistentSession> loadSessionAttributes(String deploymentName, ClassLoader classLoader) - Specified by:
loadSessionAttributes
in interfaceSessionPersistenceManager
-
clear
- Specified by:
clear
in interfaceSessionPersistenceManager
-