Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- cleanupCron() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
-
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.
- 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_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
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 by Redis. - enableRedisKeyspaceNotificationsInitializer() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- 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.
G
- getFlushMode() - Method in enum class org.springframework.session.data.redis.RedisFlushMode
-
Deprecated.
- 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.
I
- IMMEDIATE - Enum constant in enum class org.springframework.session.data.redis.RedisFlushMode
-
Deprecated.Writes to Redis as soon as possible.
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.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
- ON_SAVE - Enum constant in enum class org.springframework.session.data.redis.RedisFlushMode
-
Deprecated.Only writes to Redis when
SessionRepository.save(org.springframework.session.Session)
is invoked. - 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
- ReactiveRedisOperationsSessionRepository - Class in org.springframework.session.data.redis
-
Deprecated.
- ReactiveRedisOperationsSessionRepository(ReactiveRedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.ReactiveRedisOperationsSessionRepository
-
Deprecated.Create a new
ReactiveRedisOperationsSessionRepository
instance. - 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. - redisFlushMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
-
Deprecated.since 2.2.0 in favor of
EnableRedisHttpSession.flushMode()
- redisFlushMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.server.EnableRedisWebSession
-
Deprecated.since 2.2.0 as support
IMMEDIATE
is removed - RedisFlushMode - Enum Class in org.springframework.session.data.redis
-
Deprecated.since 2.2.0 in favor of
FlushMode
- RedisHttpSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.http
-
Exposes the
SessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
. - RedisHttpSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- RedisIndexedSessionRepository - Class in org.springframework.session.data.redis
-
A
SessionRepository
that is implemented using Spring Data'sRedisOperations
. - RedisIndexedSessionRepository(RedisOperations<Object, 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.server.EnableRedisWebSession
-
Defines a unique namespace for keys.
- RedisOperationsSessionRepository - Class in org.springframework.session.data.redis
-
Deprecated.since 2.2.0 in favor of
RedisIndexedSessionRepository
- RedisOperationsSessionRepository(RedisOperations<Object, Object>) - Constructor for class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
Deprecated.Creates a new instance.
- 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.server.EnableRedisWebSession
-
Save mode for the session.
- 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.server.RedisWebSessionConfiguration
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- 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.RedisHttpSessionConfiguration
- 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.RedisHttpSessionConfiguration
- setConfigureRedisAction(ConfigureRedisAction) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
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
-
Sets the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets 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 default maxInactiveInterval.
- setDefaultRedisSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- 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.server.RedisWebSessionConfiguration
- setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- 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.server.RedisWebSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Set the
IndexResolver
to use. - setKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Deprecated.since 2.4.0 in favor of
RedisSessionRepository.setRedisKeyNamespace(String)
- setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- 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.RedisHttpSessionConfiguration
- setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
Deprecated.
- setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
-
Deprecated.
- setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.ReactiveRedisOperationsSessionRepository
-
Deprecated.since 2.2.0 as support
IMMEDIATE
is removed - setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
Deprecated.since 2.2.0 in favor of
RedisIndexedSessionRepository.setFlushMode(FlushMode)
- 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.RedisHttpSessionConfiguration
- setRedisNamespace(String) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setRedisSubscriptionExecutor(Executor) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setRedisTaskExecutor(Executor) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- 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.
- setSessionRepositoryCustomizer(ObjectProvider<ReactiveSessionRepositoryCustomizer<ReactiveRedisSessionRepository>>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setSessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<RedisIndexedSessionRepository>>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- 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.RedisHttpSessionConfiguration
- 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.
V
- valueOf(String) - Static method in enum class org.springframework.session.data.redis.RedisFlushMode
-
Deprecated.Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.session.data.redis.RedisFlushMode
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values
ReactiveRedisSessionRepository