Class CoherenceHttpSessionConfiguration
java.lang.Object
io.micronaut.session.SessionConfiguration
io.micronaut.session.http.HttpSessionConfiguration
io.micronaut.coherence.httpsession.CoherenceHttpSessionConfiguration
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable,io.micronaut.http.cookie.CookieConfiguration
@ConfigurationProperties("coherence")
public class CoherenceHttpSessionConfiguration
extends io.micronaut.session.http.HttpSessionConfiguration
implements io.micronaut.core.util.Toggleable
A
HttpSessionConfiguration that uses Coherence to store http sessions.-
Field Summary
Fields inherited from class io.micronaut.session.http.HttpSessionConfiguration
DEFAULT_BASE64ENCODE, DEFAULT_COOKIENAME, DEFAULT_COOKIEPATH, DEFAULT_REMEMBERMEFields inherited from class io.micronaut.session.SessionConfiguration
DEFAULT_MAXINACTIVEINTERVAL_MINUTES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet HTTP session cache name.voidsetCacheName(String cacheName) Set HTTP session cache name.Methods inherited from class io.micronaut.session.http.HttpSessionConfiguration
getCookieDomain, getCookieMaxAge, getCookieName, getCookiePath, getCookieSameSite, getDomainName, getHeaderNames, getPrefix, isBase64Encode, isCookieHttpOnly, isCookieSecure, isRememberMe, setBase64Encode, setCookieDomain, setCookieMaxAge, setCookieName, setCookiePath, setCookieSameSite, setCookieSecure, setDomainName, setHeaderNames, setPrefix, setRememberMeMethods inherited from class io.micronaut.session.SessionConfiguration
getExecutorService, getMaxActiveSessions, getMaxInactiveInterval, isPromptExpiration, setExecutorService, setMaxActiveSessions, setMaxInactiveInterval, setPromptExpirationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
-
Constructor Details
-
CoherenceHttpSessionConfiguration
public CoherenceHttpSessionConfiguration()
-
-
Method Details
-
getCacheName
Get HTTP session cache name.- Returns:
- session cache name
-
setCacheName
Set HTTP session cache name.- Parameters:
cacheName- session cache name
-