Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractRedisHttpSessionConfiguration<T extends org.springframework.session.SessionRepository<? extends org.springframework.session.Session>> - Class in org.springframework.session.data.redis.config.annotation.web.http
-
Base configuration class for Redis based
SessionRepository
implementations. - AbstractRedisHttpSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- afterPropertiesSet() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- apply(String, Map<String, Object>) - Method in class org.springframework.session.data.redis.RedisSessionMapper
C
- cleanupCron() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisIndexedHttpSession
-
The cron expression for expired session cleanup job.
- cleanUpExpiredSessions() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- configure(RedisConnection) - Method in class org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction
- configure(RedisConnection) - Method in interface org.springframework.session.data.redis.config.ConfigureRedisAction
- ConfigureNotifyKeyspaceEventsAction - Class in org.springframework.session.data.redis.config
-
Ensures that Redis Keyspace events for Generic commands and Expired events are enabled.
- ConfigureNotifyKeyspaceEventsAction() - Constructor for class org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction
- ConfigureRedisAction - Interface in org.springframework.session.data.redis.config
-
Allows specifying a strategy for configuring and validating Redis.
- createRedisTemplate() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- createSession() - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
- createSession() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- createSession() - Method in class org.springframework.session.data.redis.RedisSessionRepository
D
- DEFAULT_CLEANUP_CRON - Static variable in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
The default cron expression used for expired session cleanup job.
- DEFAULT_DATABASE - Static variable in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
The default Redis database used by Spring Session.
- DEFAULT_KEY_NAMESPACE - Static variable in class org.springframework.session.data.redis.RedisSessionRepository
-
The default namespace for each key and channel in Redis used by Spring Session.
- DEFAULT_NAMESPACE - Static variable in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
The default namespace for each key and channel in Redis used by Spring Session.
- DEFAULT_NAMESPACE - Static variable in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
The default namespace for each key and channel in Redis used by Spring Session.
- deleteById(String) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
- deleteById(String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- deleteById(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
- destroy() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
E
- EnableRedisHttpSession - Annotation Interface in org.springframework.session.data.redis.config.annotation.web.http
-
Add this annotation to an
@Configuration
class to expose theSessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
and backed byRedisSessionRepository
. - EnableRedisIndexedHttpSession - Annotation Interface in org.springframework.session.data.redis.config.annotation.web.http
-
Add this annotation to an
@Configuration
class to expose theSessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
and backed byRedisIndexedSessionRepository
. - enableRedisKeyspaceNotificationsInitializer() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- EnableRedisWebSession - Annotation Interface in org.springframework.session.data.redis.config.annotation.web.server
-
Add this annotation to an
@Configuration
class to expose theWebSessionManager
as a bean namedwebSessionManager
and backed by Reactive Redis.
F
- findById(String) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
- findById(String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- findById(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
- findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- flushMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
-
Flush mode for the Redis sessions.
- flushMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisIndexedHttpSession
-
Flush mode for the Redis sessions.
G
- getDefaultRedisSerializer() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- getFlushMode() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- getMaxInactiveInterval() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- getRedisConnectionFactory() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- getRedisNamespace() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- getSaveMode() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- getSessionCreatedChannelPrefix() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Gets the prefix for the channel that
SessionCreatedEvent
s are published to. - getSessionDeletedChannel() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Gets the name of the channel that
SessionDeletedEvent
s are published to. - getSessionExpiredChannel() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Gets the name of the channel that
SessionExpiredEvent
s are published to. - getSessionRedisOperations() - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Returns the
ReactiveRedisOperations
used for sessions. - getSessionRedisOperations() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Returns the
RedisOperations
used for sessions. - getSessionRedisOperations() - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Returns the
RedisOperations
used for sessions. - getSessionRepositoryCustomizers() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
M
- maxInactiveIntervalInSeconds() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
-
The session timeout in seconds.
- maxInactiveIntervalInSeconds() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisIndexedHttpSession
-
The session timeout in seconds.
- maxInactiveIntervalInSeconds() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.server.EnableRedisWebSession
-
The session timeout in seconds.
N
- NO_OP - Static variable in interface org.springframework.session.data.redis.config.ConfigureRedisAction
-
A do nothing implementation of
ConfigureRedisAction
.
O
- onMessage(Message, byte[]) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- org.springframework.session.data.redis - package org.springframework.session.data.redis
- org.springframework.session.data.redis.config - package org.springframework.session.data.redis.config
- org.springframework.session.data.redis.config.annotation - package org.springframework.session.data.redis.config.annotation
- org.springframework.session.data.redis.config.annotation.web.http - package org.springframework.session.data.redis.config.annotation.web.http
- org.springframework.session.data.redis.config.annotation.web.server - package org.springframework.session.data.redis.config.annotation.web.server
R
- ReactiveRedisSessionRepository - Class in org.springframework.session.data.redis
-
A
ReactiveSessionRepository
that is implemented using Spring Data'sReactiveRedisOperations
. - ReactiveRedisSessionRepository(ReactiveRedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Create a new
ReactiveRedisSessionRepository
instance. - RedisHttpSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.http
-
Exposes the
SessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
backed byRedisSessionRepository
. - RedisHttpSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- RedisIndexedHttpSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.http
-
Exposes the
SessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
backed byRedisIndexedSessionRepository
. - RedisIndexedHttpSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- RedisIndexedSessionRepository - Class in org.springframework.session.data.redis
-
A
SessionRepository
that is implemented using Spring Data'sRedisOperations
. - RedisIndexedSessionRepository(RedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Creates a new instance.
- redisNamespace() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
-
Defines a unique namespace for keys.
- redisNamespace() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisIndexedHttpSession
-
Defines a unique namespace for keys.
- redisNamespace() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.server.EnableRedisWebSession
-
Defines a unique namespace for keys.
- RedisSessionMapper - Class in org.springframework.session.data.redis
- RedisSessionMapper() - Constructor for class org.springframework.session.data.redis.RedisSessionMapper
- RedisSessionRepository - Class in org.springframework.session.data.redis
-
A
SessionRepository
implementation that uses Spring Data'sRedisOperations
to store sessions is Redis. - RedisSessionRepository(RedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.RedisSessionRepository
-
Create a new
RedisSessionRepository
instance. - RedisWebSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.server
-
Exposes the
WebSessionManager
as a bean namedwebSessionManager
. - RedisWebSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
S
- save(ReactiveRedisSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
- save(RedisIndexedSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- save(RedisSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.RedisSessionRepository
- saveMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
-
Save mode for the session.
- saveMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisIndexedHttpSession
-
Save mode for the session.
- saveMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.server.EnableRedisWebSession
-
Save mode for the session.
- sessionRepository() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- sessionRepository() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- sessionRepository() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- sessionRepository() - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets the
ApplicationEventPublisher
that is used to publishSessionDestroyedEvent
. - setBeanClassLoader(ClassLoader) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setCleanupCron(String) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- setCleanupCron(String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Set the cleanup cron expression.
- setConfigureRedisAction(ConfigureRedisAction) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
-
Sets the action to perform for configuring Redis.
- setDatabase(int) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets the database index to use.
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Deprecated.
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Deprecated.since 3.0.0, in favor of
RedisIndexedSessionRepository.setDefaultMaxInactiveInterval(Duration)
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultRedisSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- setDefaultRedisSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setDefaultSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets the default redis serializer.
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets the redis flush mode.
- setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Set the flush mode.
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Set the
IndexResolver
to use. - setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
-
Deprecated.
- setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
-
Deprecated.
- setRedisConnectionFactory(ObjectProvider<ReactiveRedisConnectionFactory>, ObjectProvider<ReactiveRedisConnectionFactory>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setRedisConnectionFactory(ObjectProvider<RedisConnectionFactory>, ObjectProvider<RedisConnectionFactory>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
- setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Set the Redis key namespace.
- setRedisNamespace(String) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- setRedisNamespace(String) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setRedisSessionMapper(BiFunction<String, Map<String, Object>, MapSession>) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- setRedisSessionMapper(BiFunction<String, Map<String, Object>, MapSession>) - Method in class org.springframework.session.data.redis.RedisSessionRepository
- setRedisSessionMapper(BiFunction<String, Map<String, Object>, Mono<MapSession>>) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
- setRedisSubscriptionExecutor(Executor) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- setRedisTaskExecutor(Executor) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Set the save mode.
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Set the save mode.
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Set the save mode.
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Set the
SessionIdGenerator
to use to generate session ids. - setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Set the
SessionIdGenerator
to use to generate session ids. - setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Set the
SessionIdGenerator
to use to generate session ids. - setSessionRepositoryCustomizer(ObjectProvider<ReactiveSessionRepositoryCustomizer<ReactiveRedisSessionRepository>>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setSessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<T>>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- SpringSessionRedisConnectionFactory - Annotation Interface in org.springframework.session.data.redis.config.annotation
-
Qualifier annotation for a
RedisConnectionFactory
to be injected inRedisIndexedSessionRepository
. - springSessionRedisMessageListenerContainer(RedisIndexedSessionRepository) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- SpringSessionRedisOperations - Annotation Interface in org.springframework.session.data.redis.config.annotation
-
Annotation used to inject the Redis accessor used by Spring Session's Redis session repository.
All Classes and Interfaces|All Packages|Constant Field Values
ReactiveRedisSessionRepository.setDefaultMaxInactiveInterval(Duration)