クラス 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
- 関連事項:
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明voidsetEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver) voidsetImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) voidsetSessionIdGenerator(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