クラス RedisHttpSessionConfiguration

java.lang.ObjectSE
org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration<RedisSessionRepository>
org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
実装されたすべてのインターフェース:
org.springframework.beans.factory.Awareorg.springframework.beans.factory.BeanClassLoaderAwareorg.springframework.context.annotation.ImportAwareorg.springframework.context.EmbeddedValueResolverAware

@Configuration(proxyBeanMethods=false) public class RedisHttpSessionConfiguration extends AbstractRedisHttpSessionConfiguration<RedisSessionRepository> implements org.springframework.context.EmbeddedValueResolverAware, org.springframework.context.annotation.ImportAware
RedisSessionRepository による springSessionRepositoryFilter という名前の Bean として SessionRepositoryFilter を公開します。これを使用するには、単一の RedisConnectionFactory を Bean として公開する必要があります。
導入:
1.0
関連事項:
  • コンストラクターの詳細

    • RedisHttpSessionConfiguration

      public RedisHttpSessionConfiguration()
  • メソッドの詳細

    • sessionRepository

      @Bean public RedisSessionRepository sessionRepository()
      次で指定:
      クラス AbstractRedisHttpSessionConfiguration<RedisSessionRepository>sessionRepository 
    • setEmbeddedValueResolver

      public void setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver)
      次で指定:
      インターフェース org.springframework.context.EmbeddedValueResolverAwaresetEmbeddedValueResolver 
    • setImportMetadata

      public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
      次で指定:
      インターフェース org.springframework.context.annotation.ImportAwaresetImportMetadata 
    • setSessionIdGenerator

      @Autowired(required=false) public void setSessionIdGenerator(SessionIdGenerator sessionIdGenerator)