Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractHttpSessionApplicationInitializer - Class in org.springframework.session.web.context
-
Registers the
DelegatingFilterProxy
to use the springSessionRepositoryFilter before any other registeredFilter
. - AbstractHttpSessionApplicationInitializer() - Constructor for class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Creates a new instance that assumes the Spring Session configuration is loaded by some other means than this class.
- AbstractHttpSessionApplicationInitializer(Class<?>...) - Constructor for class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Creates a new instance that will instantiate the
ContextLoaderListener
with the specified classes. - AbstractMongoSessionConverter - Class in org.springframework.session.data.mongo
-
Base class for serializing and deserializing session objects.
- AbstractMongoSessionConverter() - Constructor for class org.springframework.session.data.mongo.AbstractMongoSessionConverter
- AbstractRedisHttpSessionConfiguration<T extends SessionRepository<? extends 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
- AbstractRedisWebSessionConfiguration<T extends ReactiveSessionRepository<? extends Session>> - Class in org.springframework.session.data.redis.config.annotation.web.server
- AbstractRedisWebSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.server.AbstractRedisWebSessionConfiguration
- AbstractSessionEvent - Class in org.springframework.session.events
-
For
SessionRepository
implementations that support it, this event is fired when aSession
is updated. - AbstractSessionWebSocketMessageBrokerConfigurer<S extends Session> - Class in org.springframework.session.web.socket.config.annotation
-
Eases configuration of Web Socket and Spring Session integration.
- AbstractSessionWebSocketMessageBrokerConfigurer() - Constructor for class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
- afterHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Exception) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
- afterPropertiesSet() - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- afterPropertiesSet() - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- afterPropertiesSet() - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Do not use
ReactiveIndexOperations
to ensure indexes exist. - afterPropertiesSet() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- afterPropertiesSet() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- afterPropertiesSet() - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- afterPropertiesSet() - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- afterSessionRepositoryFilter(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Invoked after the springSessionRepositoryFilter is added.
- ALREADY_FILTERED_SUFFIX - Static variable in class org.springframework.session.web.http.SessionRepositoryFilter
-
Suffix that gets appended to the filter name for the "already filtered" request attribute.
- ALWAYS - Enum constant in enum class org.springframework.session.SaveMode
-
Always save all session attributes, regardless of the interaction with the session.
- appendFilters(ServletContext, Filter...) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Inserts the provided
Filter
s after existingFilter
s using default generated names,AbstractHttpSessionApplicationInitializer.getSessionDispatcherTypes()
, andAbstractHttpSessionApplicationInitializer.isAsyncSessionSupported()
. - apply(String, Map<String, Object>) - Method in class org.springframework.session.data.redis.RedisSessionMapper
- authenticationInfo() - Static method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
-
Convenience factory to create
HeaderHttpSessionIdResolver
that uses "Authentication-Info" header. - autoLogin(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
B
- beforeHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
- beforeSessionRepositoryFilter(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Invoked before the springSessionRepositoryFilter is added.
C
- changeSessionId() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- changeSessionId() - Method in class org.springframework.session.MapSession
- changeSessionId() - Method in interface org.springframework.session.Session
-
Changes the session id.
- cleanupCron() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisIndexedHttpSession
-
The cron expression for expired session cleanup job.
- cleanupCron() - Element in annotation interface org.springframework.session.jdbc.config.annotation.web.http.EnableJdbcHttpSession
-
The cron expression for expired session cleanup job.
- cleanUpExpiredSessions() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- cleanUpExpiredSessions() - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- collectionName() - Element in annotation interface org.springframework.session.data.mongo.config.annotation.web.http.EnableMongoHttpSession
-
The collection name to use.
- collectionName() - Element in annotation interface org.springframework.session.data.mongo.config.annotation.web.reactive.EnableMongoWebSession
-
The collection name to use.
- configure(ReactiveRedisConnection) - Method in class org.springframework.session.data.redis.config.annotation.ConfigureNotifyKeyspaceEventsReactiveAction
- configure(ReactiveRedisConnection) - Method in interface org.springframework.session.data.redis.config.ConfigureReactiveRedisAction
- configure(RedisConnection) - Method in class org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction
- configure(RedisConnection) - Method in interface org.springframework.session.data.redis.config.ConfigureRedisAction
- configureClientInboundChannel(ChannelRegistration) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
- 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
- ConfigureNotifyKeyspaceEventsReactiveAction - Class in org.springframework.session.data.redis.config.annotation
-
Ensures that Redis Keyspace events for Generic commands and Expired events are enabled.
- ConfigureNotifyKeyspaceEventsReactiveAction() - Constructor for class org.springframework.session.data.redis.config.annotation.ConfigureNotifyKeyspaceEventsReactiveAction
- ConfigureReactiveRedisAction - Interface in org.springframework.session.data.redis.config
-
Allows specifying a strategy for configuring and validating Redis using a Reactive connection.
- ConfigureRedisAction - Interface in org.springframework.session.data.redis.config
-
Allows specifying a strategy for configuring and validating Redis.
- configureStompEndpoints(StompEndpointRegistry) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
-
Register STOMP endpoints mapping each to a specific URL and (optionally) enabling and configuring SockJS fallback options with a
SessionRepositoryMessageInterceptor
automatically added as an interceptor. - configureWebSocketTransport(WebSocketTransportRegistration) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
- convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
- convert(Document) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
- convert(Document) - Method in class org.springframework.session.data.mongo.JacksonMongoSessionConverter
- convert(Document) - Method in class org.springframework.session.data.mongo.JdkMongoSessionConverter
- convert(MongoSession) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
- convert(MongoSession) - Method in class org.springframework.session.data.mongo.JacksonMongoSessionConverter
- convert(MongoSession) - Method in class org.springframework.session.data.mongo.JdkMongoSessionConverter
- CookieHttpSessionIdResolver - Class in org.springframework.session.web.http
-
A
HttpSessionIdResolver
that uses a cookie to obtain the session from. - CookieHttpSessionIdResolver() - Constructor for class org.springframework.session.web.http.CookieHttpSessionIdResolver
- CookieSerializer - Interface in org.springframework.session.web.http
-
Strategy for reading and writing a cookie value to the
HttpServletResponse
. - CookieSerializer.CookieValue - Class in org.springframework.session.web.http
-
Contains the information necessary to write a value to the
HttpServletResponse
. - CookieValue(HttpServletRequest, HttpServletResponse, String) - Constructor for class org.springframework.session.web.http.CookieSerializer.CookieValue
-
Creates a new instance.
- createReactiveRedisTemplate() - Method in class org.springframework.session.data.redis.config.annotation.web.server.AbstractRedisWebSessionConfiguration
- createRedisTemplate() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- createSession() - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- createSession() - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Creates a new
MongoSession
that is capable of being persisted by thisReactiveSessionRepository
. - createSession() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- 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
- createSession() - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- createSession() - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- createSession() - Method in class org.springframework.session.MapSessionRepository
- createSession() - Method in class org.springframework.session.ReactiveMapSessionRepository
- createSession() - Method in interface org.springframework.session.ReactiveSessionRepository
-
Creates a new
Session
that is capable of being persisted by thisReactiveSessionRepository
. - createSession() - Method in interface org.springframework.session.SessionRepository
-
Creates a new
Session
that is capable of being persisted by thisSessionRepository
. - createWebSession() - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
- customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.Db2JdbcIndexedSessionRepositoryCustomizer
- customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.MySqlJdbcIndexedSessionRepositoryCustomizer
- customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.OracleJdbcIndexedSessionRepositoryCustomizer
- customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.PostgreSqlJdbcIndexedSessionRepositoryCustomizer
- customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.SqlServerJdbcIndexedSessionRepositoryCustomizer
- customize(T) - Method in interface org.springframework.session.config.ReactiveSessionRepositoryCustomizer
-
Customize the
ReactiveSessionRepository
. - customize(T) - Method in interface org.springframework.session.config.SessionRepositoryCustomizer
-
Customize the
SessionRepository
.
D
- Db2JdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
-
A
SessionRepositoryCustomizer
implementation that applies IBM DB2 specific optimized SQL statements toJdbcIndexedSessionRepository
. - Db2JdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.Db2JdbcIndexedSessionRepositoryCustomizer
- decorate(WebSocketHandler) - Method in class org.springframework.session.web.socket.handler.WebSocketConnectHandlerDecoratorFactory
- DEFAULT_CLEANUP_CRON - Static variable in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
The default cron expression used for expired session cleanup job.
- DEFAULT_CLEANUP_CRON - Static variable in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
The default cron expression used for expired session cleanup job.
- DEFAULT_COLLECTION_NAME - Static variable in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
-
the default collection name for storing session.
- DEFAULT_COLLECTION_NAME - Static variable in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
The default collection name for storing session.
- DEFAULT_DATABASE - Static variable in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
-
The default Redis database used by Spring Session.
- DEFAULT_DATABASE - Static variable in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
The default Redis database used by Spring Session.
- DEFAULT_FILTER_NAME - Static variable in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
The default name for Spring Session's repository filter.
- DEFAULT_INACTIVE_INTERVAL - Static variable in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
-
Deprecated.
- DEFAULT_INACTIVE_INTERVAL - Static variable in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Deprecated.since 3.0.0 in favor of
MapSession.DEFAULT_MAX_INACTIVE_INTERVAL_SECONDS
- 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_MAX_INACTIVE_INTERVAL - Static variable in class org.springframework.session.MapSession
-
Default
MapSession.setMaxInactiveInterval(Duration)
(30 minutes). - DEFAULT_MAX_INACTIVE_INTERVAL_SECONDS - Static variable in class org.springframework.session.MapSession
-
Default
MapSession.setMaxInactiveInterval(Duration)
(30 minutes) in seconds. - DEFAULT_NAMESPACE - Static variable in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
-
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.
- DEFAULT_ORDER - Static variable in class org.springframework.session.web.http.SessionRepositoryFilter
-
The default filter order.
- DEFAULT_SESSION_MAP_NAME - Static variable in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
The default name of map used by Spring Session to store sessions.
- DEFAULT_TABLE_NAME - Static variable in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
The default name of database table used by Spring Session to store sessions.
- DefaultCookieSerializer - Class in org.springframework.session.web.http
-
The default implementation of
CookieSerializer
. - DefaultCookieSerializer() - Constructor for class org.springframework.session.web.http.DefaultCookieSerializer
- DelegatingIndexResolver<S extends Session> - Class in org.springframework.session
-
An
IndexResolver
that resolves indexes using multiple @{link IndexResolver} delegates. - DelegatingIndexResolver(List<IndexResolver<S>>) - Constructor for class org.springframework.session.DelegatingIndexResolver
- DelegatingIndexResolver(IndexResolver<S>...) - Constructor for class org.springframework.session.DelegatingIndexResolver
- deleteById(String) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- deleteById(String) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- deleteById(String) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- 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
- deleteById(String) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- deleteById(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- deleteById(String) - Method in class org.springframework.session.MapSessionRepository
- deleteById(String) - Method in class org.springframework.session.ReactiveMapSessionRepository
- deleteById(String) - Method in interface org.springframework.session.ReactiveSessionRepository
- deleteById(String) - Method in interface org.springframework.session.SessionRepository
- destroy() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- destroy() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- destroy() - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- destroy() - Method in class org.springframework.session.hazelcast.HazelcastSessionSerializer
- destroy() - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- destroy() - Method in class org.springframework.session.web.http.SessionRepositoryFilter
- disableCleanupTask() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
-
Disables the clean-up task.
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
-
This
doFilter
implementation stores a request attribute for "already filtered", proceeding without filtering again if the attribute is already there. - doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
- doFilterNestedErrorDispatch(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
E
- EnableHazelcastHttpSession - Annotation Interface in org.springframework.session.hazelcast.config.annotation.web.http
-
Add this annotation to an
@Configuration
class to expose theSessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
and backed by Hazelcast. - EnableJdbcHttpSession - Annotation Interface in org.springframework.session.jdbc.config.annotation.web.http
-
Add this annotation to an
@Configuration
class to expose theSessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
and backed by a relational database. - EnableMongoHttpSession - Annotation Interface in org.springframework.session.data.mongo.config.annotation.web.http
-
Add this annotation to a
@Configuration
class to expose the SessionRepositoryFilter as a bean named "springSessionRepositoryFilter" and backed by Mongo. - EnableMongoWebSession - Annotation Interface in org.springframework.session.data.mongo.config.annotation.web.reactive
-
Add this annotation to a
@Configuration
class to configure a MongoDB-basedWebSessionManager
for a WebFlux application. - 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
. - EnableRedisIndexedWebSession - 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. - enableRedisKeyspaceNotificationsInitializer() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
- enableRedisKeyspaceNotificationsInitializer() - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisIndexedWebSessionConfiguration
- 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. - EnableSpringHttpSession - Annotation Interface in org.springframework.session.config.annotation.web.http
-
Add this annotation to an
@Configuration
class to expose the SessionRepositoryFilter as a bean named "springSessionRepositoryFilter" and backed by a user provided implementation ofSessionRepository
. - EnableSpringWebSession - Annotation Interface in org.springframework.session.config.annotation.web.server
-
Add this annotation to a
@Configuration
class to configure aWebSessionManager
for a WebFlux application. - ensureIndexes(IndexOperations) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
-
Method ensures that there is a TTL index on expireAt field.
- entryAdded(EntryEvent<String, MapSession>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- entryEvicted(EntryEvent<String, MapSession>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- entryExpired(EntryEvent<String, MapSession>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- entryRemoved(EntryEvent<String, MapSession>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- equals(Object) - Method in class org.springframework.session.MapSession
- expireSession(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
- expireSession(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
- expireSession(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.session.web.http.HttpSessionIdResolver
-
Instruct the client to end the current session.
- extract(MapSession, String, ValueCollector) - Method in class org.springframework.session.hazelcast.PrincipalNameExtractor
- extractPrincipal(MongoSession) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
F
- findById(String) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- findById(String) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- findById(String) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- 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
- findById(String) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- findById(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- findById(String) - Method in class org.springframework.session.MapSessionRepository
- findById(String) - Method in class org.springframework.session.ReactiveMapSessionRepository
- findById(String) - Method in interface org.springframework.session.ReactiveSessionRepository
- findById(String) - Method in interface org.springframework.session.SessionRepository
- findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
-
Currently this repository allows only querying against
PRINCIPAL_NAME_INDEX_NAME
. - findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- findByIndexNameAndIndexValue(String, String) - Method in interface org.springframework.session.FindByIndexNameSessionRepository
- findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- findByIndexNameAndIndexValue(String, String) - Method in interface org.springframework.session.ReactiveFindByIndexNameSessionRepository
- FindByIndexNameSessionRepository<S extends Session> - Interface in org.springframework.session
-
Extends a basic
SessionRepository
to allow finding sessions by the specified index name and index value. - findByPrincipalName(String) - Method in interface org.springframework.session.FindByIndexNameSessionRepository
-
Find a
Map
of the session id to theSession
of all sessions that contain the index with the nameFindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME
and the specified principal name. - findByPrincipalName(String) - Method in interface org.springframework.session.ReactiveFindByIndexNameSessionRepository
-
A shortcut for
ReactiveFindByIndexNameSessionRepository.findByIndexNameAndIndexValue(String, String)
that usesReactiveFindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME
for the index name. - 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.
- flushMode() - Element in annotation interface org.springframework.session.hazelcast.config.annotation.web.http.EnableHazelcastHttpSession
-
Flush mode for the Hazelcast sessions.
- flushMode() - Element in annotation interface org.springframework.session.jdbc.config.annotation.web.http.EnableJdbcHttpSession
-
Flush mode for the sessions.
- FlushMode - Enum Class in org.springframework.session
-
Supported modes of writing the session to session store.
G
- generate() - Method in interface org.springframework.session.SessionIdGenerator
- generate() - Method in class org.springframework.session.UuidSessionIdGenerator
- getAllPrincipals() - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
- getAllSessions(Object, boolean) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
- getAlreadyFilteredAttributeName() - Method in class org.springframework.session.web.http.SessionRepositoryFilter
-
Return the name of the request attribute that identifies that a request is already filtered.
- getAttribute(String) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- getAttribute(String) - Method in class org.springframework.session.MapSession
- getAttribute(String) - Method in interface org.springframework.session.Session
-
Gets the Object associated with the specified name or null if no Object is associated to that name.
- getAttributeNames() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- getAttributeNames() - Method in class org.springframework.session.MapSession
- getAttributeNames() - Method in interface org.springframework.session.Session
-
Gets the attribute names that have a value associated with it.
- getAttributeOrDefault(String, T) - Method in interface org.springframework.session.Session
-
Return the session attribute value, or a default, fallback value.
- getCollectionName() - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- getCollectionName() - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- getConvertibleTypes() - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
- getCookieMaxAge() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
-
Get the cookie max age.
- getCookieValue() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
-
The value to be written.
- getCreationTime() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- getCreationTime() - Method in class org.springframework.session.MapSession
- getCreationTime() - Method in interface org.springframework.session.Session
-
Gets the time when this session was created.
- getDefaultRedisSerializer() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- getDefaultRedisSerializer() - Method in class org.springframework.session.data.redis.config.annotation.web.server.AbstractRedisWebSessionConfiguration
- getDispatcherWebApplicationContextSuffix() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Return the
<servlet-name>
to use the DispatcherServlet'sWebApplicationContext
to find theDelegatingFilterProxy
or null to use the parentApplicationContext
. - getFlushMode() - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- getId() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- getId() - Method in class org.springframework.session.MapSession
- getId() - Method in interface org.springframework.session.Session
-
Gets a unique string that identifies the
Session
. - getIndexes() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- getIndexName() - Method in class org.springframework.session.SingleIndexResolver
- getInstance() - Static method in class org.springframework.session.UuidSessionIdGenerator
-
Returns the singleton instance of
UuidSessionIdGenerator
. - getLastAccessedTime() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- getLastAccessedTime() - Method in class org.springframework.session.MapSession
- getLastAccessedTime() - Method in interface org.springframework.session.Session
-
Gets the last time this
Session
was accessed. - getMaxInactiveInterval() - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- getMaxInactiveInterval() - 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.server.AbstractRedisWebSessionConfiguration
- getMaxInactiveInterval() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- getMaxInactiveInterval() - Method in class org.springframework.session.MapSession
- getMaxInactiveInterval() - Method in interface org.springframework.session.Session
-
Gets the maximum inactive interval between requests before this session will be invalidated.
- getOriginalId() - Method in class org.springframework.session.MapSession
-
Get the original session id.
- getQueryForIndex(String, Object) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
-
Returns query to be executed to return sessions based on a particular index.
- getQueryForIndex(String, Object) - Method in class org.springframework.session.data.mongo.JacksonMongoSessionConverter
- getQueryForIndex(String, Object) - Method in class org.springframework.session.data.mongo.JdkMongoSessionConverter
- getRedisConnectionFactory() - 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.server.AbstractRedisWebSessionConfiguration
- getRedisNamespace() - 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.server.AbstractRedisWebSessionConfiguration
- getRememberMeRequestAttribute() - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Gets the name of the request attribute that is checked to see if the cookie should be written with
Integer.MAX_VALUE
. - getRequest() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
-
Gets the request to use.
- getRequiredAttribute(String) - Method in interface org.springframework.session.Session
-
Return the session attribute value or if not present raise an
IllegalArgumentException
. - getResponse() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
-
Gets the response to write to.
- getSaveMode() - 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.server.AbstractRedisWebSessionConfiguration
- getSession() - Method in class org.springframework.session.events.AbstractSessionEvent
-
Gets the
Session
that was destroyed. - getSessionCreatedChannel(String) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- getSessionCreatedChannelPrefix() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- 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.ReactiveRedisIndexedSessionRepository
- getSessionDeletedChannel() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Gets the name of the channel that
SessionDeletedEvent
s are published to. - getSessionDispatcherTypes() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Get the
DispatcherType
for the springSessionRepositoryFilter. - getSessionExpiredChannel() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- getSessionExpiredChannel() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Gets the name of the channel that
SessionExpiredEvent
s are published to. - getSessionId() - Method in class org.springframework.session.events.AbstractSessionEvent
- getSessionId(Map<String, Object>) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
- getSessionIdGenerator() - Method in class org.springframework.session.data.redis.config.annotation.web.server.AbstractRedisWebSessionConfiguration
- getSessionInformation(String) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
- getSessionRedisOperations() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- 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
- getSessionRepositoryCustomizers() - Method in class org.springframework.session.data.redis.config.annotation.web.server.AbstractRedisWebSessionConfiguration
- getTypeId() - Method in class org.springframework.session.hazelcast.HazelcastSessionSerializer
- getWebSocketSession() - Method in class org.springframework.session.web.socket.events.SessionConnectEvent
H
- hashCode() - Method in class org.springframework.session.MapSession
- HazelcastHttpSessionConfiguration - Class in org.springframework.session.hazelcast.config.annotation.web.http
-
Exposes the
SessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
. - HazelcastHttpSessionConfiguration() - Constructor for class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- HazelcastIndexedSessionRepository - Class in org.springframework.session.hazelcast
-
A
SessionRepository
implementation that stores sessions in Hazelcast's distributedIMap
. - HazelcastIndexedSessionRepository(HazelcastInstance) - Constructor for class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Create a new
HazelcastIndexedSessionRepository
instance. - HazelcastSessionSerializer - Class in org.springframework.session.hazelcast
- HazelcastSessionSerializer() - Constructor for class org.springframework.session.hazelcast.HazelcastSessionSerializer
- HeaderHttpSessionIdResolver - Class in org.springframework.session.web.http
-
A
HttpSessionIdResolver
that uses a header to resolve the session id. - HeaderHttpSessionIdResolver(String) - Constructor for class org.springframework.session.web.http.HeaderHttpSessionIdResolver
-
The name of the header to obtain the session id from.
- HttpSessionIdResolver - Interface in org.springframework.session.web.http
-
Contract for session id resolution strategies.
I
- IMMEDIATE - Enum constant in enum class org.springframework.session.FlushMode
-
Writes to session store as soon as possible.
- IndexResolver<S extends Session> - Interface in org.springframework.session
-
Strategy interface for resolving the
Session
's indexes. - init(FilterConfig) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
- insertFilters(ServletContext, Filter...) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Inserts the provided
Filter
s before existingFilter
s using default generated names,AbstractHttpSessionApplicationInitializer.getSessionDispatcherTypes()
, andAbstractHttpSessionApplicationInitializer.isAsyncSessionSupported()
. - INVALID_SESSION_ID_ATTR - Static variable in class org.springframework.session.web.http.SessionRepositoryFilter
-
Invalid session id (not backed by the session repository) request attribute name.
- isAsyncSessionSupported() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Determine if the springSessionRepositoryFilter should be marked as supporting asynch.
- isExpired() - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- isExpired() - Method in class org.springframework.session.MapSession
- isExpired() - Method in interface org.springframework.session.Session
-
Returns true if the session is expired.
J
- JacksonMongoSessionConverter - Class in org.springframework.session.data.mongo
-
AbstractMongoSessionConverter
implementation using Jackson. - JacksonMongoSessionConverter() - Constructor for class org.springframework.session.data.mongo.JacksonMongoSessionConverter
- JacksonMongoSessionConverter(ObjectMapper) - Constructor for class org.springframework.session.data.mongo.JacksonMongoSessionConverter
- JacksonMongoSessionConverter(Iterable<Module>) - Constructor for class org.springframework.session.data.mongo.JacksonMongoSessionConverter
- JdbcHttpSessionConfiguration - Class in org.springframework.session.jdbc.config.annotation.web.http
-
Spring
@Configuration
class used to configure and initialize a JDBC basedHttpSession
provider implementation in Spring Session. - JdbcHttpSessionConfiguration() - Constructor for class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- JdbcIndexedSessionRepository - Class in org.springframework.session.jdbc
-
A
SessionRepository
implementation that uses Spring'sJdbcOperations
to store sessions in a relational database. - JdbcIndexedSessionRepository(JdbcOperations, TransactionOperations) - Constructor for class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Create a new
JdbcIndexedSessionRepository
instance which uses the providedJdbcOperations
andTransactionOperations
to manage sessions. - JdbcSchemaUtils - Class in org.springframework.session.jdbc.util
-
Utility class for schema files.
- JdkMongoSessionConverter - Class in org.springframework.session.data.mongo
-
AbstractMongoSessionConverter
implementation using standard Java serialization. - JdkMongoSessionConverter(Duration) - Constructor for class org.springframework.session.data.mongo.JdkMongoSessionConverter
- JdkMongoSessionConverter(Converter<Object, byte[]>, Converter<byte[], Object>, Duration) - Constructor for class org.springframework.session.data.mongo.JdkMongoSessionConverter
L
- loginFail(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
- loginSuccess(HttpServletRequest, HttpServletResponse, Authentication) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
- logout(HttpServletRequest, HttpServletResponse, Authentication) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
M
- MapSession - Class in org.springframework.session
- MapSession() - Constructor for class org.springframework.session.MapSession
-
Creates a new instance with a secure randomly generated identifier.
- MapSession(String) - Constructor for class org.springframework.session.MapSession
-
Creates a new instance with the specified id.
- MapSession(Session) - Constructor for class org.springframework.session.MapSession
-
Creates a new instance from the provided
Session
. - MapSession(SessionIdGenerator) - Constructor for class org.springframework.session.MapSession
-
Creates a new instance using the specified
SessionIdGenerator
to generate the session id. - MapSessionRepository - Class in org.springframework.session
- MapSessionRepository(Map<String, Session>) - Constructor for class org.springframework.session.MapSessionRepository
-
Creates a new instance backed by the provided
Map
. - maxInactiveIntervalInSeconds() - Element in annotation interface org.springframework.session.data.mongo.config.annotation.web.http.EnableMongoHttpSession
-
The maximum time a session will be kept if it is inactive.
- maxInactiveIntervalInSeconds() - Element in annotation interface org.springframework.session.data.mongo.config.annotation.web.reactive.EnableMongoWebSession
-
The maximum time a session will be kept if it is inactive.
- 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.EnableRedisIndexedWebSession
-
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.
- maxInactiveIntervalInSeconds() - Element in annotation interface org.springframework.session.hazelcast.config.annotation.web.http.EnableHazelcastHttpSession
-
The session timeout in seconds.
- maxInactiveIntervalInSeconds() - Element in annotation interface org.springframework.session.jdbc.config.annotation.web.http.EnableJdbcHttpSession
-
The session timeout in seconds.
- MongoHttpSessionConfiguration - Class in org.springframework.session.data.mongo.config.annotation.web.http
-
Configuration class registering
MongoSessionRepository
bean. - MongoHttpSessionConfiguration() - Constructor for class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- MongoIndexedSessionRepository - Class in org.springframework.session.data.mongo
-
Session repository implementation which stores sessions in Mongo.
- MongoIndexedSessionRepository(MongoOperations) - Constructor for class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- mongoSessionRepository(MongoOperations) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- MySqlJdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
-
A
SessionRepositoryCustomizer
implementation that applies MySQL specific optimized SQL statements toJdbcIndexedSessionRepository
. - MySqlJdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.MySqlJdbcIndexedSessionRepositoryCustomizer
N
- name(Object) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
-
Derives a String name for the given principal.
- NO_OP - Static variable in interface org.springframework.session.data.redis.config.ConfigureReactiveRedisAction
-
An implementation of
ConfigureReactiveRedisAction
that does nothing. - NO_OP - Static variable in interface org.springframework.session.data.redis.config.ConfigureRedisAction
-
A do nothing implementation of
ConfigureRedisAction
.
O
- ON_GET_ATTRIBUTE - Enum constant in enum class org.springframework.session.SaveMode
-
Same as
SaveMode.ON_SET_ATTRIBUTE
with addition of saving attributes that have been read usingSession.getAttribute(String)
. - ON_SAVE - Enum constant in enum class org.springframework.session.FlushMode
-
Only writes to session store when
SessionRepository.save(Session)
is invoked. - ON_SET_ATTRIBUTE - Enum constant in enum class org.springframework.session.SaveMode
-
Save only changes made to session, for instance using
Session.setAttribute(String, Object)
. - onApplicationEvent(ApplicationEvent) - Method in class org.springframework.session.web.socket.handler.WebSocketRegistryListener
- onApplicationEvent(AbstractSessionEvent) - Method in class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
- onMessage(Message, byte[]) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- onStartup(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
- OracleJdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
-
A
SessionRepositoryCustomizer
implementation that applies Oracle specific optimized SQL statements toJdbcIndexedSessionRepository
. - OracleJdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.OracleJdbcIndexedSessionRepositoryCustomizer
- org.springframework.session - package org.springframework.session
- org.springframework.session.config - package org.springframework.session.config
- org.springframework.session.config.annotation.web.http - package org.springframework.session.config.annotation.web.http
- org.springframework.session.config.annotation.web.server - package org.springframework.session.config.annotation.web.server
- org.springframework.session.data.mongo - package org.springframework.session.data.mongo
-
Spring Session MongoDB support.
- org.springframework.session.data.mongo.config.annotation.web.http - package org.springframework.session.data.mongo.config.annotation.web.http
- org.springframework.session.data.mongo.config.annotation.web.reactive - package org.springframework.session.data.mongo.config.annotation.web.reactive
- 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
- org.springframework.session.events - package org.springframework.session.events
- org.springframework.session.hazelcast - package org.springframework.session.hazelcast
- org.springframework.session.hazelcast.config.annotation - package org.springframework.session.hazelcast.config.annotation
- org.springframework.session.hazelcast.config.annotation.web.http - package org.springframework.session.hazelcast.config.annotation.web.http
- org.springframework.session.jdbc - package org.springframework.session.jdbc
- org.springframework.session.jdbc.config.annotation - package org.springframework.session.jdbc.config.annotation
- org.springframework.session.jdbc.config.annotation.web.http - package org.springframework.session.jdbc.config.annotation.web.http
- org.springframework.session.jdbc.util - package org.springframework.session.jdbc.util
- org.springframework.session.security - package org.springframework.session.security
- org.springframework.session.security.web.authentication - package org.springframework.session.security.web.authentication
- org.springframework.session.web.context - package org.springframework.session.web.context
- org.springframework.session.web.http - package org.springframework.session.web.http
- org.springframework.session.web.server.session - package org.springframework.session.web.server.session
-
Spring Session reactive web support.
- org.springframework.session.web.socket.config.annotation - package org.springframework.session.web.socket.config.annotation
- org.springframework.session.web.socket.events - package org.springframework.session.web.socket.events
- org.springframework.session.web.socket.handler - package org.springframework.session.web.socket.handler
- org.springframework.session.web.socket.server - package org.springframework.session.web.socket.server
P
- PostgreSqlJdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
-
A
SessionRepositoryCustomizer
implementation that applies PostgreSQL specific optimized SQL statements toJdbcIndexedSessionRepository
. - PostgreSqlJdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.PostgreSqlJdbcIndexedSessionRepositoryCustomizer
- preSend(Message<?>, MessageChannel) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
- PRINCIPAL_NAME_ATTRIBUTE - Static variable in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
The principal name custom attribute name.
- PRINCIPAL_NAME_INDEX_NAME - Static variable in interface org.springframework.session.FindByIndexNameSessionRepository
-
A session index that contains the current principal name (i.e.
- PRINCIPAL_NAME_INDEX_NAME - Static variable in interface org.springframework.session.ReactiveFindByIndexNameSessionRepository
-
A session index that contains the current principal name (i.e.
- PrincipalNameExtractor - Class in org.springframework.session.hazelcast
-
Hazelcast
ValueExtractor
responsible for extracting principal name from theMapSession
. - PrincipalNameExtractor() - Constructor for class org.springframework.session.hazelcast.PrincipalNameExtractor
- PrincipalNameIndexResolver<S extends Session> - Class in org.springframework.session
-
IndexResolver
to resolve the principal name from session attribute namedFindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME
or Spring Security context stored in the session underSPRING_SECURITY_CONTEXT
attribute. - PrincipalNameIndexResolver() - Constructor for class org.springframework.session.PrincipalNameIndexResolver
- PrincipalNameIndexResolver(String) - Constructor for class org.springframework.session.PrincipalNameIndexResolver
-
Create a new instance specifying the name of the index to be resolved.
- process(Map.Entry<String, MapSession>) - Method in class org.springframework.session.hazelcast.SessionUpdateEntryProcessor
R
- ReactiveFindByIndexNameSessionRepository<S extends Session> - Interface in org.springframework.session
-
Allow finding sessions by the specified index name and index value.
- ReactiveMapSessionRepository - Class in org.springframework.session
- ReactiveMapSessionRepository(Map<String, Session>) - Constructor for class org.springframework.session.ReactiveMapSessionRepository
-
Creates a new instance backed by the provided
Map
. - reactiveMongoSessionRepository(ReactiveMongoOperations) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- ReactiveMongoSessionRepository - Class in org.springframework.session.data.mongo
-
A
ReactiveSessionRepository
implementation that uses Spring Data MongoDB. - ReactiveMongoSessionRepository(ReactiveMongoOperations) - Constructor for class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- ReactiveMongoWebSessionConfiguration - Class in org.springframework.session.data.mongo.config.annotation.web.reactive
-
Configure a
ReactiveMongoSessionRepository
using a providedReactiveMongoOperations
. - ReactiveMongoWebSessionConfiguration() - Constructor for class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- ReactiveRedisIndexedSessionRepository - Class in org.springframework.session.data.redis
-
A
ReactiveSessionRepository
that is implemented using Spring Data'sReactiveRedisOperations
. - ReactiveRedisIndexedSessionRepository(ReactiveRedisOperations<String, Object>, ReactiveRedisTemplate<String, String>) - Constructor for class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
-
Creates a new instance with the provided
ReactiveRedisOperations
. - ReactiveRedisIndexedSessionRepository.RedisSession - Class in org.springframework.session.data.redis
- 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. - ReactiveSessionRepository<S extends Session> - Interface in org.springframework.session
-
A repository interface for managing
Session
instances. - ReactiveSessionRepositoryCustomizer<T extends ReactiveSessionRepository> - Interface in org.springframework.session.config
-
Strategy that can be used to customize the
ReactiveSessionRepository
before it is fully initialized, in particular to tune its configuration. - read(ObjectDataInput) - Method in class org.springframework.session.hazelcast.HazelcastSessionSerializer
- readCookieValues(HttpServletRequest) - Method in interface org.springframework.session.web.http.CookieSerializer
-
Reads all the matching cookies from the
HttpServletRequest
. - readCookieValues(HttpServletRequest) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
- 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.
- RedisIndexedWebSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.server
-
Exposes the
WebSessionManager
as a bean namedwebSessionManager
backed byReactiveRedisIndexedSessionRepository
. - RedisIndexedWebSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.server.RedisIndexedWebSessionConfiguration
- 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.EnableRedisIndexedWebSession
-
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.
- RedisSession(MapSession, boolean) - Constructor for class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- 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
- refreshLastRequest(String) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
- registerNewSession(String, Object) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
- registerStompEndpoints(StompEndpointRegistry) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
- REMEMBER_ME_LOGIN_ATTR - Static variable in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
-
Remember-me login request attribute name.
- rememberMeRequested(HttpServletRequest, String) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
-
Allows customization of whether a remember-me login has been requested.
- removeAttribute(String) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- removeAttribute(String) - Method in class org.springframework.session.MapSession
- removeAttribute(String) - Method in interface org.springframework.session.Session
-
Removes the attribute with the provided attribute name.
- removeSession(String) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
- removeSessionInformation(String) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
- replaceDefaultTableName(Resource, String) - Static method in class org.springframework.session.jdbc.util.JdbcSchemaUtils
-
Loads the content of the provided schema resource and replaces the
JdbcIndexedSessionRepository.DEFAULT_TABLE_NAME
by the provided table name. - resolveIndexesFor(S) - Method in class org.springframework.session.DelegatingIndexResolver
- resolveIndexesFor(S) - Method in interface org.springframework.session.IndexResolver
-
Resolve indexes for the session.
- resolveIndexesFor(S) - Method in class org.springframework.session.SingleIndexResolver
- resolveIndexValueFor(S) - Method in class org.springframework.session.PrincipalNameIndexResolver
- resolveIndexValueFor(S) - Method in class org.springframework.session.SingleIndexResolver
- resolveSessionIds(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
- resolveSessionIds(HttpServletRequest) - Method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
- resolveSessionIds(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionIdResolver
-
Resolve the session ids associated with the provided
HttpServletRequest
. - retrieveSession(String) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
S
- save(MongoSession) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- save(MongoSession) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- save(ReactiveRedisIndexedSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- 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
- save(HazelcastIndexedSessionRepository.HazelcastSession) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- save(JdbcIndexedSessionRepository.JdbcSession) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- save(MapSession) - Method in class org.springframework.session.MapSessionRepository
- save(MapSession) - Method in class org.springframework.session.ReactiveMapSessionRepository
- save(S) - Method in interface org.springframework.session.ReactiveSessionRepository
-
Ensures the
Session
created byReactiveSessionRepository.createSession()
is saved. - save(S) - Method in interface org.springframework.session.SessionRepository
-
Ensures the
Session
created bySessionRepository.createSession()
is saved. - 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.EnableRedisIndexedWebSession
-
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.
- saveMode() - Element in annotation interface org.springframework.session.hazelcast.config.annotation.web.http.EnableHazelcastHttpSession
-
Save mode for the session.
- saveMode() - Element in annotation interface org.springframework.session.jdbc.config.annotation.web.http.EnableJdbcHttpSession
-
Save mode for the session.
- SaveMode - Enum Class in org.springframework.session
-
Supported modes of tracking and saving session changes to session store.
- Session - Interface in org.springframework.session
-
Provides a way to identify a user in an agnostic way.
- SESSION_REPOSITORY_ATTR - Static variable in class org.springframework.session.web.http.SessionRepositoryFilter
-
The session repository request attribute name.
- SessionConnectEvent - Class in org.springframework.session.web.socket.events
-
Similar to Spring
SessionConnectEvent
except that it provides access to theWebSocketSession
to allow mapping the Spring Session to theWebSocketSession
. - SessionConnectEvent(Object, WebSocketSession) - Constructor for class org.springframework.session.web.socket.events.SessionConnectEvent
- SessionCreatedEvent - Class in org.springframework.session.events
-
For
SessionRepository
implementations that support it, this event is fired when aSession
is created. - SessionCreatedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionCreatedEvent
-
Create a new
SessionCreatedEvent
. - SessionDeletedEvent - Class in org.springframework.session.events
-
For
SessionRepository
implementations that support it, this event is fired when aSession
is destroyed via deletion. - SessionDeletedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionDeletedEvent
-
Create a new
SessionDeletedEvent
. - SessionDestroyedEvent - Class in org.springframework.session.events
-
Base class for events fired when a
Session
is destroyed explicitly. - SessionDestroyedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionDestroyedEvent
-
Create a new
SessionDestroyedEvent
. - sessionEventHttpSessionListenerAdapter() - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- SessionEventHttpSessionListenerAdapter - Class in org.springframework.session.web.http
-
Receives
SessionDestroyedEvent
andSessionCreatedEvent
and translates them intoHttpSessionEvent
and submits theHttpSessionEvent
to every registeredHttpSessionListener
. - SessionEventHttpSessionListenerAdapter(List<HttpSessionListener>) - Constructor for class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
- SessionExpiredEvent - Class in org.springframework.session.events
-
For
SessionRepository
implementations that support it, this event is fired when aSession
is destroyed via expiration. - SessionExpiredEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionExpiredEvent
-
Create a new
SessionExpiredEvent
. - SessionIdGenerator - Interface in org.springframework.session
-
An interface for specifying a strategy for generating session identifiers.
- sessionMapName() - Element in annotation interface org.springframework.session.hazelcast.config.annotation.web.http.EnableHazelcastHttpSession
-
This is the name of the Map that will be used in Hazelcast to store the session data.
- 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.AbstractRedisWebSessionConfiguration
- sessionRepository() - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisIndexedWebSessionConfiguration
- sessionRepository() - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- sessionRepository() - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- sessionRepository() - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- SessionRepository<S extends Session> - Interface in org.springframework.session
-
A repository interface for managing
Session
instances. - SessionRepositoryCustomizer<T extends SessionRepository> - Interface in org.springframework.session.config
-
Strategy that can be used to customize the
SessionRepository
before it is fully initialized, in particular to tune its configuration. - SessionRepositoryFilter<S extends Session> - Class in org.springframework.session.web.http
-
Switches the
HttpSession
implementation to be backed by aSession
. - SessionRepositoryFilter(SessionRepository<S>) - Constructor for class org.springframework.session.web.http.SessionRepositoryFilter
-
Creates a new instance.
- sessionRepositoryInterceptor() - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
- SessionRepositoryMessageInterceptor<S extends Session> - Class in org.springframework.session.web.socket.server
-
Acts as a
ChannelInterceptor
and aHandshakeInterceptor
to ensure theSession.getLastAccessedTime()
is up to date. - SessionRepositoryMessageInterceptor(SessionRepository<S>) - Constructor for class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
-
Creates a new instance.
- SessionUpdateEntryProcessor - Class in org.springframework.session.hazelcast
-
Hazelcast
EntryProcessor
responsible for handling updates to session. - SessionUpdateEntryProcessor() - Constructor for class org.springframework.session.hazelcast.SessionUpdateEntryProcessor
- setAlwaysRemember(boolean) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
- setApplicationContext(ApplicationContext) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- 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
. - setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Sets the
ApplicationEventPublisher
that is used to publishsession events
. - setAttribute(String, Object) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- setAttribute(String, Object) - Method in class org.springframework.session.MapSession
- setAttribute(String, Object) - Method in interface org.springframework.session.Session
-
Sets the attribute value for the provided attribute name.
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- 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
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setBlockingMongoOperations(MongoOperations) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- 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.
- setCleanupCron(String) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setCleanupCron(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the cleanup cron expression.
- setCleanupInterval(Duration) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
-
Sets the interval that the clean-up of expired sessions task should run.
- setClock(Clock) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
-
Sets the
Clock
to use. - setClock(Clock) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
-
Configure the
Clock
to use to set lastAccessTime on every created session and to calculate if it is expired. - setCollectionName(String) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setCollectionName(String) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- setCollectionName(String) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- setCollectionName(String) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- setConfigureRedisAction(ConfigureReactiveRedisAction) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisIndexedWebSessionConfiguration
-
Sets the action to perform for configuring Redis.
- setConfigureRedisAction(ConfigureRedisAction) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisIndexedHttpSessionConfiguration
-
Sets the action to perform for configuring Redis.
- setConversionService(ConversionService) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setConversionService(ConversionService) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Sets the
ConversionService
to use. - setCookieMaxAge(int) - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
-
Set the cookie max age.
- setCookieMaxAge(int) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Sets the maxAge property of the Cookie.
- setCookieName(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
- setCookiePath(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Sets the path of the Cookie.
- setCookieSerializer(CookieSerializer) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- setCookieSerializer(CookieSerializer) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
-
Sets the
CookieSerializer
to be used. - setCreateSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to create the session attribute.
- setCreateSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to create the session.
- setCreationTime(Instant) - Method in class org.springframework.session.MapSession
-
Sets the time that this
Session
was created. - setDatabase(int) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
-
Sets the Redis database index used by Spring Session.
- setDatabase(int) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets the database index to use.
- setDataSource(ObjectProvider<DataSource>, ObjectProvider<DataSource>) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Deprecated.since 3.0.0, in favor of
ReactiveRedisSessionRepository.setDefaultMaxInactiveInterval(Duration)
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Deprecated.since 3.0.0, in favor of
RedisIndexedSessionRepository.setDefaultMaxInactiveInterval(Duration)
- setDefaultMaxInactiveInterval(Integer) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Deprecated.since 3.0.0, in favor of
HazelcastIndexedSessionRepository.setDefaultMaxInactiveInterval(Duration)
- setDefaultMaxInactiveInterval(Integer) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Deprecated.since 3.0.0, in favor of
JdbcIndexedSessionRepository.setDefaultMaxInactiveInterval(Duration)
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
-
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.mongo.ReactiveMongoSessionRepository
-
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.ReactiveRedisIndexedSessionRepository
- 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.
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.MapSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.ReactiveMapSessionRepository
-
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.AbstractRedisWebSessionConfiguration
- 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.
- setDeleteSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to delete the session attribute.
- setDeleteSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to delete the session.
- setDeleteSessionsByExpiryTimeQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to delete the sessions by last access time.
- setDomainName(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Sets an explicit Domain Name.
- setDomainNamePattern(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Sets a case insensitive pattern used to extract the domain name from the
ServletRequest.getServerName()
. - setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- 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.RedisIndexedWebSessionConfiguration
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisIndexedWebSessionConfiguration
- setEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- 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.
- setFlushMode(FlushMode) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setFlushMode(FlushMode) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Sets the Hazelcast flush mode.
- setFlushMode(FlushMode) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setFlushMode(FlushMode) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the flush mode.
- setGetSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to retrieve the session.
- setHazelcastInstance(ObjectProvider<HazelcastInstance>, ObjectProvider<HazelcastInstance>) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setHttpSessionIdResolver(HttpSessionIdResolver) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- setHttpSessionIdResolver(HttpSessionIdResolver) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
-
Sets the
HttpSessionIdResolver
to be used. - setHttpSessionListeners(List<HttpSessionListener>) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- setId(String) - Method in class org.springframework.session.MapSession
-
Sets the identifier for this
Session
. - setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- 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.RedisIndexedWebSessionConfiguration
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- 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.config.annotation.web.server.RedisIndexedWebSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Set the
IndexResolver
to use. - setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Set the
IndexResolver
to use. - setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the
IndexResolver
to use. - setJvmRoute(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Used to identify which JVM to route to for session affinity.
- setLastAccessedTime(Instant) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- setLastAccessedTime(Instant) - Method in class org.springframework.session.MapSession
- setLastAccessedTime(Instant) - Method in interface org.springframework.session.Session
-
Sets the last accessed time.
- setListSessionsByPrincipalNameQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to retrieve the sessions by principal name.
- setLobHandler(LobHandler) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setLobHandler(LobHandler) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
- setMatchingMessageTypes(Set<SimpMessageType>) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
-
Sets the
SimpMessageType
to match on. - setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- 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.AbstractRedisWebSessionConfiguration
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.MapSession
- setMaxInactiveInterval(Duration) - Method in interface org.springframework.session.Session
-
Sets the maximum inactive interval between requests before this session will be invalidated.
- 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.
- setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
-
Deprecated.
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
-
Deprecated.
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
-
Deprecated.
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
-
Deprecated.since 3.0.0, in favor of
MongoIndexedSessionRepository.setDefaultMaxInactiveInterval(Duration)
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Deprecated.since 3.0.0, in favor of
ReactiveMongoSessionRepository.setDefaultMaxInactiveInterval(Duration)
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
-
Deprecated.
- setMongoSessionConverter(AbstractMongoSessionConverter) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setMongoSessionConverter(AbstractMongoSessionConverter) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- setMongoSessionConverter(AbstractMongoSessionConverter) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- setMongoSessionConverter(AbstractMongoSessionConverter) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- setRedisConnectionFactory(ObjectProvider<ReactiveRedisConnectionFactory>, ObjectProvider<ReactiveRedisConnectionFactory>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.AbstractRedisWebSessionConfiguration
- 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.ReactiveRedisIndexedSessionRepository
-
Sets the namespace for keys used by Spring Session.
- 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.AbstractRedisWebSessionConfiguration
- 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.ReactiveRedisIndexedSessionRepository
- 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
- setRememberMeParameterName(String) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
-
Set the name of the parameter which should be checked for to see if a remember-me has been requested during a login request.
- setRememberMeRequestAttribute(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Set the request attribute name that indicates remember-me login.
- setSameSite(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Set the value for the
SameSite
cookie directive. - 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.AbstractRedisWebSessionConfiguration
- 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.ReactiveRedisIndexedSessionRepository
- 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.
- setSaveMode(SaveMode) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setSaveMode(SaveMode) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Set the save mode.
- setSaveMode(SaveMode) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setSaveMode(SaveMode) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the save mode.
- setServletContext(ServletContext) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- setServletContext(ServletContext) - Method in class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
- setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
- setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
- setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in interface org.springframework.session.web.http.HttpSessionIdResolver
-
Send the given session id to the client.
- setSessionId(Map<String, Object>, String) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
-
Set the
SessionIdGenerator
to use to generate session ids. - setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- 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.AbstractRedisWebSessionConfiguration
- 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.ReactiveRedisIndexedSessionRepository
- 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. - setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Set the
SessionIdGenerator
to use to generate session ids. - setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the
SessionIdGenerator
to use to generate session ids. - setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.MapSession
-
Sets the
SessionIdGenerator
to use when generating a new session id. - setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.MapSessionRepository
- setSessionIdGenerator(SessionIdGenerator) - Method in class org.springframework.session.ReactiveMapSessionRepository
-
Sets the
SessionIdGenerator
to use. - setSessionMapName(String) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setSessionMapName(String) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
-
Set the name of map used to store sessions.
- setSessionRepositoryCustomizer(ObjectProvider<ReactiveSessionRepositoryCustomizer<ReactiveRedisSessionRepository>>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setSessionRepositoryCustomizer(ObjectProvider<ReactiveSessionRepositoryCustomizer<T>>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.AbstractRedisWebSessionConfiguration
- setSessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<HazelcastIndexedSessionRepository>>) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setSessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<JdbcIndexedSessionRepository>>) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setSessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<T>>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.AbstractRedisHttpSessionConfiguration
- setSessionRepositoryCustomizers(ObjectProvider<ReactiveSessionRepositoryCustomizer<ReactiveMongoSessionRepository>>) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- setSessionRepositoryCustomizers(ObjectProvider<SessionRepositoryCustomizer<MongoIndexedSessionRepository>>) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setSpringSessionConversionService(ConversionService) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setTableName(String) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setTableName(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the name of database table used to store sessions.
- setTransactionManager(PlatformTransactionManager) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setTransactionOperations(TransactionOperations) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setUpdateSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to update the session attribute.
- setUpdateSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
-
Set the custom SQL query used to update the session.
- setUseBase64Encoding(boolean) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Set if the Base64 encoding of cookie value should be used.
- setUseHttpOnlyCookie(boolean) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Sets if a Cookie marked as HTTP Only should be used.
- setUseSecureCookie(boolean) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Sets if a Cookie marked as secure should be used.
- setValiditySeconds(int) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
- setWebSessionIdResolver(WebSessionIdResolver) - Method in class org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration
- SingleIndexResolver<S extends Session> - Class in org.springframework.session
-
Base class for
IndexResolver
s that resolve a single index. - SingleIndexResolver(String) - Constructor for class org.springframework.session.SingleIndexResolver
- SpringHttpSessionConfiguration - Class in org.springframework.session.config.annotation.web.http
-
Configures the basics for setting up Spring Session in a web environment.
- SpringHttpSessionConfiguration() - Constructor for class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- SpringSessionBackedSessionRegistry<S extends Session> - Class in org.springframework.session.security
-
A
SessionRegistry
that retrieves session information from Spring Session, rather than maintaining it itself. - SpringSessionBackedSessionRegistry(FindByIndexNameSessionRepository<S>) - Constructor for class org.springframework.session.security.SpringSessionBackedSessionRegistry
- SpringSessionDataSource - Annotation Interface in org.springframework.session.jdbc.config.annotation
-
Qualifier annotation for a
DataSource
to be injected inJdbcIndexedSessionRepository
. - SpringSessionHazelcastInstance - Annotation Interface in org.springframework.session.hazelcast.config.annotation
-
Qualifier annotation for a
HazelcastInstance
to be injected inHazelcastIndexedSessionRepository
. - 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.
- SpringSessionRememberMeServices - Class in org.springframework.session.security.web.authentication
-
A
RememberMeServices
implementation that uses Spring Session backedHttpSession
to provide remember-me service capabilities. - SpringSessionRememberMeServices() - Constructor for class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
- springSessionRepositoryFilter(SessionRepository<S>) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- SpringSessionWebSessionStore<S extends Session> - Class in org.springframework.session.web.server.session
-
The
WebSessionStore
implementation that provides theWebSession
implementation backed by aSession
returned by theReactiveSessionRepository
. - SpringSessionWebSessionStore(ReactiveSessionRepository<S>) - Constructor for class org.springframework.session.web.server.session.SpringSessionWebSessionStore
- SpringWebSessionConfiguration - Class in org.springframework.session.config.annotation.web.server
-
Wire up a
WebSessionManager
using a ReactiveReactiveSessionRepository
from the application context. - SpringWebSessionConfiguration() - Constructor for class org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration
- SqlServerJdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
-
A
SessionRepositoryCustomizer
implementation that applies SQL Server specific optimized SQL statements toJdbcIndexedSessionRepository
. - SqlServerJdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.SqlServerJdbcIndexedSessionRepositoryCustomizer
T
- tableName() - Element in annotation interface org.springframework.session.jdbc.config.annotation.web.http.EnableJdbcHttpSession
-
The name of database table used by Spring Session to store sessions.
U
- updateLastAccessTime(WebSession) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
- UuidSessionIdGenerator - Class in org.springframework.session
-
A
SessionIdGenerator
that generates a random UUID to be used as the session id.
V
- valueOf(String) - Static method in enum class org.springframework.session.FlushMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.session.SaveMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.session.FlushMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.session.SaveMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- webSessionManager(ReactiveSessionRepository<? extends Session>) - Method in class org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration
-
Configure a
WebSessionManager
using a providedReactiveSessionRepository
. - WebSocketConnectHandlerDecoratorFactory - Class in org.springframework.session.web.socket.handler
-
Ensures that a
SessionConnectEvent
is published inWebSocketHandler.afterConnectionEstablished(WebSocketSession)
. - WebSocketConnectHandlerDecoratorFactory(ApplicationEventPublisher) - Constructor for class org.springframework.session.web.socket.handler.WebSocketConnectHandlerDecoratorFactory
-
Creates a new instance.
- webSocketRegistryListener() - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
- WebSocketRegistryListener - Class in org.springframework.session.web.socket.handler
-
Keeps track of mapping the Spring Session ID to the
WebSocketSession
and ensuring when aSessionDestroyedEvent
is fired that theWebSocketSession
is closed. - WebSocketRegistryListener() - Constructor for class org.springframework.session.web.socket.handler.WebSocketRegistryListener
- write(ObjectDataOutput, MapSession) - Method in class org.springframework.session.hazelcast.HazelcastSessionSerializer
- writeCookieValue(CookieSerializer.CookieValue) - Method in interface org.springframework.session.web.http.CookieSerializer
-
Writes a given
CookieSerializer.CookieValue
to the providedHttpServletResponse
. - writeCookieValue(CookieSerializer.CookieValue) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
- wsConnectHandlerDecoratorFactory() - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
X
- xAuthToken() - Static method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
-
Convenience factory to create
HeaderHttpSessionIdResolver
that uses "X-Auth-Token" header.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
MapSession.DEFAULT_MAX_INACTIVE_INTERVAL_SECONDS