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.SessionPersistenceManager
public Map<String,io.undertow.servlet.api.SessionPersistenceManager.PersistentSession> loadSessionAttributes(String deploymentName, ClassLoader classLoader)
loadSessionAttributes
in interface io.undertow.servlet.api.SessionPersistenceManager
public void clear(String deploymentName)
clear
in interface io.undertow.servlet.api.SessionPersistenceManager
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.