@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 |
---|---|
SessionProperties.Servlet |
getServlet() |
StoreType |
getStoreType() |
Duration |
getTimeout()
Return the session timeout.
|
void |
setServlet(SessionProperties.Servlet servlet) |
void |
setStoreType(StoreType storeType) |
public SessionProperties(org.springframework.beans.factory.ObjectProvider<ServerProperties> serverProperties)
public StoreType getStoreType()
public void setStoreType(StoreType storeType)
public Duration getTimeout()
Session.getTimeout()
public SessionProperties.Servlet getServlet()
public void setServlet(SessionProperties.Servlet servlet)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.