类 SessionProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.session.SessionProperties
@ConfigurationProperties(prefix="spring.session") public class SessionProperties extends Object
Configuration properties for Spring Session.- 从以下版本开始:
- 1.4.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
SessionProperties.Hazelcast
static class
SessionProperties.Jdbc
static class
SessionProperties.Mongo
static class
SessionProperties.Redis
构造器概要
构造器 构造器 说明 SessionProperties(org.springframework.beans.factory.ObjectProvider<ServerProperties> serverProperties)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
构造器详细资料
SessionProperties
public SessionProperties(org.springframework.beans.factory.ObjectProvider<ServerProperties> serverProperties)
方法详细资料
getStoreType
public StoreType getStoreType()
setStoreType
public void setStoreType(StoreType storeType)
getTimeout
public Integer getTimeout()
Return the session timeout in seconds.- 返回:
- the session timeout in seconds
- 另请参阅:
ServerProperties.getSession()
getHazelcast
public SessionProperties.Hazelcast getHazelcast()
getJdbc
public SessionProperties.Jdbc getJdbc()
getMongo
public SessionProperties.Mongo getMongo()
getRedis
public SessionProperties.Redis getRedis()