Class RedissonHttpSessionConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportAware, org.springframework.context.ApplicationContextAware

    @Configuration
    public class RedissonHttpSessionConfiguration
    extends org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
    implements org.springframework.context.annotation.ImportAware
    Exposes the SessionRepositoryFilter as the bean named "springSessionRepositoryFilter".

    Redisson instance should be registered as bean in application context.

    Author:
    Nikita Koksharov
    • Constructor Detail

      • RedissonHttpSessionConfiguration

        public RedissonHttpSessionConfiguration()
    • Method Detail

      • setMaxInactiveIntervalInSeconds

        public void setMaxInactiveIntervalInSeconds​(Integer maxInactiveIntervalInSeconds)
      • setKeyPrefix

        public void setKeyPrefix​(String keyPrefix)
      • setImportMetadata

        public void setImportMetadata​(org.springframework.core.type.AnnotationMetadata importMetadata)
        Specified by:
        setImportMetadata in interface org.springframework.context.annotation.ImportAware