Class SessionProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.session.SessionProperties
@ConfigurationProperties(prefix="spring.session") public class SessionProperties extends Object
Configuration properties for Spring Session.- Since:
- 1.4.0
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionProperties.Hazelcast
static class
SessionProperties.Jdbc
static class
SessionProperties.Mongo
static class
SessionProperties.Redis
Constructor Summary
Constructors Constructor Description SessionProperties(org.springframework.beans.factory.ObjectProvider<ServerProperties> serverProperties)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionProperties.Hazelcast
getHazelcast()
SessionProperties.Jdbc
getJdbc()
SessionProperties.Mongo
getMongo()
SessionProperties.Redis
getRedis()
StoreType
getStoreType()
Integer
getTimeout()
Return the session timeout in seconds.void
setStoreType(StoreType storeType)
Constructor Detail
SessionProperties
public SessionProperties(org.springframework.beans.factory.ObjectProvider<ServerProperties> serverProperties)
Method Detail
getStoreType
public StoreType getStoreType()
setStoreType
public void setStoreType(StoreType storeType)
getTimeout
public Integer getTimeout()
Return the session timeout in seconds.- Returns:
- the session timeout in seconds
- See Also:
ServerProperties.getSession()
getHazelcast
public SessionProperties.Hazelcast getHazelcast()
getJdbc
public SessionProperties.Jdbc getJdbc()
getMongo
public SessionProperties.Mongo getMongo()
getRedis
public SessionProperties.Redis getRedis()