SessionCacheFactory
public class NullSessionCacheFactory extends java.lang.Object implements SessionCacheFactory
Constructor | Description |
---|---|
NullSessionCacheFactory() |
Modifier and Type | Method | Description |
---|---|---|
SessionCache |
getSessionCache(SessionHandler handler) |
|
boolean |
isRemoveUnloadableSessions() |
|
boolean |
isSaveOnCreate() |
|
void |
setRemoveUnloadableSessions(boolean removeUnloadableSessions) |
|
void |
setSaveOnCreate(boolean saveOnCreate) |
public boolean isSaveOnCreate()
public void setSaveOnCreate(boolean saveOnCreate)
saveOnCreate
- the saveOnCreate to setpublic boolean isRemoveUnloadableSessions()
public void setRemoveUnloadableSessions(boolean removeUnloadableSessions)
removeUnloadableSessions
- the removeUnloadableSessions to setpublic SessionCache getSessionCache(SessionHandler handler)
getSessionCache
in interface SessionCacheFactory
SessionCacheFactory.getSessionCache(org.eclipse.jetty.server.session.SessionHandler)
Copyright © 1995–2018 Webtide. All rights reserved.