Class 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_REMEMBERME
      • Fields inherited from class io.micronaut.session.SessionConfiguration

        DEFAULT_MAXINACTIVEINTERVAL_MINUTES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getCacheName()
      Get HTTP session cache name.
      void setCacheName​(java.lang.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, setRememberMe
      • Methods inherited from class io.micronaut.session.SessionConfiguration

        getExecutorService, getMaxActiveSessions, getMaxInactiveInterval, isPromptExpiration, setExecutorService, setMaxActiveSessions, setMaxInactiveInterval, setPromptExpiration
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.micronaut.core.util.Toggleable

        isEnabled
    • Constructor Detail

      • CoherenceHttpSessionConfiguration

        public CoherenceHttpSessionConfiguration()
    • Method Detail

      • getCacheName

        public java.util.Optional<java.lang.String> getCacheName()
        Get HTTP session cache name.
        Returns:
        session cache name
      • setCacheName

        public void setCacheName​(java.lang.String cacheName)
        Set HTTP session cache name.
        Parameters:
        cacheName - session cache name