Package io.undertow.servlet.util
Class InMemorySessionPersistence
- java.lang.Object
-
- io.undertow.servlet.util.InMemorySessionPersistence
-
- All Implemented Interfaces:
SessionPersistenceManager
public class InMemorySessionPersistence extends Object implements 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 Constructor Description InMemorySessionPersistence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(String deploymentName)Map<String,SessionPersistenceManager.PersistentSession>loadSessionAttributes(String deploymentName, ClassLoader classLoader)voidpersistSessions(String deploymentName, Map<String,SessionPersistenceManager.PersistentSession> sessionData)
-
-
-
Method Detail
-
persistSessions
public void persistSessions(String deploymentName, Map<String,SessionPersistenceManager.PersistentSession> sessionData)
- Specified by:
persistSessionsin interfaceSessionPersistenceManager
-
loadSessionAttributes
public Map<String,SessionPersistenceManager.PersistentSession> loadSessionAttributes(String deploymentName, ClassLoader classLoader)
- Specified by:
loadSessionAttributesin interfaceSessionPersistenceManager
-
clear
public void clear(String deploymentName)
- Specified by:
clearin interfaceSessionPersistenceManager
-
-