public class MongoSessionDataStoreFactory extends AbstractSessionDataStoreFactory
| Constructor and Description |
|---|
MongoSessionDataStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName() |
String |
getDbName() |
SessionDataStore |
getSessionDataStore(SessionHandler handler) |
void |
setCollectionName(String collectionName) |
void |
setDbName(String dbName) |
getGracePeriodSec, setGracePeriodSecpublic String getDbName()
public void setDbName(String dbName)
dbName - the dbName to setpublic String getCollectionName()
public void setCollectionName(String collectionName)
collectionName - the collectionName to setpublic SessionDataStore getSessionDataStore(SessionHandler handler) throws Exception
com.mongodb.MongoExceptionUnknownHostExceptionExceptionSessionDataStoreFactory.getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler)Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.