クラス 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.Aware
、org.springframework.beans.factory.BeanClassLoaderAware
、org.springframework.context.annotation.ImportAware
、org.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
- 関連事項:
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
setEmbeddedValueResolver
(org.springframework.util.StringValueResolver resolver) void
setImportMetadata
(org.springframework.core.type.AnnotationMetadata importMetadata) void
setSessionIdGenerator
(SessionIdGenerator sessionIdGenerator) クラス org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration から継承されたメソッド
createRedisTemplate, getDefaultRedisSerializer, getFlushMode, getMaxInactiveInterval, getRedisConnectionFactory, getRedisNamespace, getSaveMode, getSessionRepositoryCustomizers, setBeanClassLoader, setDefaultRedisSerializer, setFlushMode, setMaxInactiveInterval, setMaxInactiveIntervalInSeconds, setRedisConnectionFactory, setRedisNamespace, setSaveMode, setSessionRepositoryCustomizer
コンストラクターの詳細
RedisHttpSessionConfiguration
public RedisHttpSessionConfiguration()
メソッドの詳細
sessionRepository
setEmbeddedValueResolver
public void setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver) - 次で指定:
- インターフェース
org.springframework.context.EmbeddedValueResolverAware
のsetEmbeddedValueResolver
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) - 次で指定:
- インターフェース
org.springframework.context.annotation.ImportAware
のsetImportMetadata
setSessionIdGenerator