public class FileSessionPersistence extends Object implements io.undertow.servlet.api.SessionPersistenceManager
SessionPersistenceManager that stores session information in a file.| Constructor and Description |
|---|
FileSessionPersistence(File dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(String deploymentName) |
Map<String,io.undertow.servlet.api.SessionPersistenceManager.PersistentSession> |
loadSessionAttributes(String deploymentName,
ClassLoader classLoader) |
void |
persistSessions(String deploymentName,
Map<String,io.undertow.servlet.api.SessionPersistenceManager.PersistentSession> sessionData) |
public FileSessionPersistence(File dir)
public void persistSessions(String deploymentName, Map<String,io.undertow.servlet.api.SessionPersistenceManager.PersistentSession> sessionData)
persistSessions in interface io.undertow.servlet.api.SessionPersistenceManagerpublic Map<String,io.undertow.servlet.api.SessionPersistenceManager.PersistentSession> loadSessionAttributes(String deploymentName, ClassLoader classLoader)
loadSessionAttributes in interface io.undertow.servlet.api.SessionPersistenceManagerpublic void clear(String deploymentName)
clear in interface io.undertow.servlet.api.SessionPersistenceManagerCopyright © 2017 Pivotal Software, Inc.. All rights reserved.