@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(org.springframework.beans.factory.ObjectProvider<ServerProperties> serverProperties) |
Modifier and Type | Method and Description |
---|---|
void |
checkSessionTimeout() |
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 SessionProperties(org.springframework.beans.factory.ObjectProvider<ServerProperties> serverProperties)
@PostConstruct public void checkSessionTimeout()
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)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.