public static class ServerProperties.Session extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerProperties.Session.Cookie
Cookie properties.
|
static class |
ServerProperties.Session.SessionTrackingMode
Available session tracking modes (mirrors
SessionTrackingMode . |
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
ServerProperties.Session.Cookie |
getCookie() |
File |
getStoreDir() |
Duration |
getTimeout() |
Set<ServerProperties.Session.SessionTrackingMode> |
getTrackingModes() |
boolean |
isPersistent() |
void |
setPersistent(boolean persistent) |
void |
setStoreDir(File storeDir) |
void |
setTimeout(Duration timeout) |
void |
setTrackingModes(Set<ServerProperties.Session.SessionTrackingMode> trackingModes) |
public ServerProperties.Session.Cookie getCookie()
public Duration getTimeout()
public void setTimeout(Duration timeout)
public Set<ServerProperties.Session.SessionTrackingMode> getTrackingModes()
public void setTrackingModes(Set<ServerProperties.Session.SessionTrackingMode> trackingModes)
public boolean isPersistent()
public void setPersistent(boolean persistent)
public File getStoreDir()
public void setStoreDir(File storeDir)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.