Package org.eclipse.jetty.server.session
Class FileSessionDataStoreFactory
- java.lang.Object
-
- org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
-
- org.eclipse.jetty.server.session.FileSessionDataStoreFactory
-
- All Implemented Interfaces:
SessionDataStoreFactory
public class FileSessionDataStoreFactory extends AbstractSessionDataStoreFactory
FileSessionDataStoreFactory
-
-
Constructor Summary
Constructors Constructor Description FileSessionDataStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionDataStore
getSessionDataStore(SessionHandler handler)
java.io.File
getStoreDir()
boolean
isDeleteUnrestorableFiles()
void
setDeleteUnrestorableFiles(boolean deleteUnrestorableFiles)
void
setStoreDir(java.io.File storeDir)
-
Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
getGracePeriodSec, getSavePeriodSec, setGracePeriodSec, setSavePeriodSec
-
-
-
-
Method Detail
-
isDeleteUnrestorableFiles
public boolean isDeleteUnrestorableFiles()
- Returns:
- the deleteUnrestorableFiles
-
setDeleteUnrestorableFiles
public void setDeleteUnrestorableFiles(boolean deleteUnrestorableFiles)
- Parameters:
deleteUnrestorableFiles
- the deleteUnrestorableFiles to set
-
getStoreDir
public java.io.File getStoreDir()
- Returns:
- the storeDir
-
setStoreDir
public void setStoreDir(java.io.File storeDir)
- Parameters:
storeDir
- the storeDir to set
-
getSessionDataStore
public SessionDataStore getSessionDataStore(SessionHandler handler)
-
-