@ConfigurationProperties(prefix="spring.session") public class SessionProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SessionProperties.Servlet
Servlet-related properties.
|
Constructor and Description |
---|
SessionProperties() |
Modifier and Type | Method and Description |
---|---|
SessionProperties.Servlet |
getServlet() |
StoreType |
getStoreType() |
Duration |
getTimeout()
Return the session timeout.
|
void |
setServlet(SessionProperties.Servlet servlet) |
void |
setStoreType(StoreType storeType) |
void |
setTimeout(Duration timeout) |
public StoreType getStoreType()
public void setStoreType(StoreType storeType)
public Duration getTimeout()
Session.getTimeout()
public void setTimeout(Duration timeout)
public SessionProperties.Servlet getServlet()
public void setServlet(SessionProperties.Servlet servlet)