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
- 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.data.mongo.MongoIndexedSessionRepository
- afterPropertiesSet() - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Do not use
ReactiveIndexOperations
to ensure indexes exist. - 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()
. - Assert - Class in org.springframework.session.data.mongo
-
Utility to verify non null fields.
- 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.mongo.MongoSession
- 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.EnableRedisHttpSession
-
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
- close() - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- 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(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
- 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.
- 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.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_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.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
-
The default time period in seconds in which a session will expire.
- DEFAULT_INACTIVE_INTERVAL - Static variable in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
The default time period in seconds in which a session will expire.
- DEFAULT_MAX_INACTIVE_INTERVAL_SECONDS - Static variable in class org.springframework.session.MapSession
-
Default
MapSession.setMaxInactiveInterval(Duration)
(30 minutes). - 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.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.hazelcast.HazelcastSessionSerializer
- destroy() - Method in class org.springframework.session.web.http.SessionRepositoryFilter
- 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 by Redis. - enableRedisKeyspaceNotificationsInitializer() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- EnableRedisWebSession - Annotation Interface in org.springframework.session.data.redis.config.annotation.web.server
-
Add this annotation to an
@Configuration
class to expose theWebSessionManager
as a bean namedwebSessionManager
and backed by Reactive Redis. - 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
- entryRemoved(EntryEvent<String, MapSession>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- equals(Object) - Method in class org.springframework.session.data.mongo.MongoSession
- 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.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.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
- 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. - 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.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
- 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.mongo.MongoSession
- 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.mongo.MongoSession
- 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.mongo.MongoSession
- getCreationTime() - Method in class org.springframework.session.MapSession
- getCreationTime() - Method in interface org.springframework.session.Session
-
Gets the time when this session was created.
- 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
. - getExecutorName() - Method in class org.springframework.session.hazelcast.SessionUpdateEntryProcessor
- getExpireAt() - Method in class org.springframework.session.data.mongo.MongoSession
- getFlushMode() - Method in enum class org.springframework.session.data.redis.RedisFlushMode
-
Deprecated.
- getFlushMode() - Method in enum class org.springframework.session.hazelcast.HazelcastFlushMode
-
Deprecated.
- getId() - Method in class org.springframework.session.data.mongo.MongoSession
- getId() - Method in class org.springframework.session.MapSession
- getId() - Method in interface org.springframework.session.Session
-
Gets a unique string that identifies the
Session
. - getIndexName() - Method in class org.springframework.session.SingleIndexResolver
- getLastAccessedTime() - Method in class org.springframework.session.data.mongo.MongoSession
- 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.MongoSession
- 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.
- getMaxInactiveIntervalInSeconds() - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- getMaxInactiveIntervalInSeconds() - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- 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
- 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.
- getSession() - Method in class org.springframework.session.events.AbstractSessionEvent
-
Gets the
Session
that was destroyed. - getSessionCreatedChannelPrefix() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Gets the prefix for the channel that
SessionCreatedEvent
s are published to. - getSessionDeletedChannel() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Gets the name of the channel that
SessionDeletedEvent
s are published to. - 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.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
- getSessionInformation(String) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
- 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. - 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.data.mongo.MongoSession
- hashCode() - Method in class org.springframework.session.MapSession
- hazelcastFlushMode() - Element in annotation interface org.springframework.session.hazelcast.config.annotation.web.http.EnableHazelcastHttpSession
-
Deprecated.
- HazelcastFlushMode - Enum Class in org.springframework.session.hazelcast
-
Deprecated.since 2.2.0 in favor of
FlushMode
- 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. - HazelcastSessionRepository - Class in org.springframework.session.hazelcast
-
Deprecated.since 2.2.0 in favor of
HazelcastIndexedSessionRepository
- HazelcastSessionRepository(HazelcastInstance) - Constructor for class org.springframework.session.hazelcast.HazelcastSessionRepository
-
Deprecated.Create a new
HazelcastSessionRepository
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.data.redis.RedisFlushMode
-
Deprecated.Writes to Redis as soon as possible.
- IMMEDIATE - Enum constant in enum class org.springframework.session.FlushMode
-
Writes to session store as soon as possible.
- IMMEDIATE - Enum constant in enum class org.springframework.session.hazelcast.HazelcastFlushMode
-
Deprecated.Writes to Hazelcast as soon as possible.
- IndexResolver<S extends Session> - Interface in org.springframework.session
-
Strategy interface for resolving the
Session
's indexes. - init() - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
- init() - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
- 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.mongo.MongoSession
- 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. - JdbcOperationsSessionRepository - Class in org.springframework.session.jdbc
-
Deprecated.since 2.2.0 in favor of
JdbcIndexedSessionRepository
- JdbcOperationsSessionRepository(JdbcOperations) - Constructor for class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Deprecated.since 2.2.0 in favor of
JdbcIndexedSessionRepository(JdbcOperations, TransactionOperations)
- JdbcOperationsSessionRepository(JdbcOperations, PlatformTransactionManager) - Constructor for class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Deprecated.since 2.2.0 in favor of
JdbcIndexedSessionRepository(JdbcOperations, TransactionOperations)
- JdbcOperationsSessionRepository(JdbcOperations, TransactionOperations) - Constructor for class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Deprecated.Create a new
JdbcOperationsSessionRepository
instance which uses the providedJdbcOperations
andTransactionOperations
to manage sessions. - 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
. - 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.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
- MongoOperationsSessionRepository - Class in org.springframework.session.data.mongo
-
Deprecated.since 2.2.0 in favor of
MongoIndexedSessionRepository
. - MongoOperationsSessionRepository(MongoOperations) - Constructor for class org.springframework.session.data.mongo.MongoOperationsSessionRepository
-
Deprecated.
- MongoSession - Class in org.springframework.session.data.mongo
-
Session object providing additional information about the datetime of expiration.
- MongoSession() - Constructor for class org.springframework.session.data.mongo.MongoSession
- MongoSession(long) - Constructor for class org.springframework.session.data.mongo.MongoSession
- MongoSession(String, long) - Constructor for class org.springframework.session.data.mongo.MongoSession
- mongoSessionRepository(MongoOperations) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- MongoSessionUtils - Class in org.springframework.session.data.mongo
-
Utility for MongoSession.
- 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.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.data.redis.RedisFlushMode
-
Deprecated.Only writes to Redis when
SessionRepository.save(org.springframework.session.Session)
is invoked. - ON_SAVE - Enum constant in enum class org.springframework.session.FlushMode
-
Only writes to session store when
SessionRepository.save(Session)
is invoked. - ON_SAVE - Enum constant in enum class org.springframework.session.hazelcast.HazelcastFlushMode
-
Deprecated.Only writes to Hazelcast when
SessionRepository.save(org.springframework.session.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.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.
- 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
- process(Map.Entry<String, MapSession>) - Method in class org.springframework.session.hazelcast.SessionUpdateEntryProcessor
R
- 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
. - ReactiveMongoOperationsSessionRepository - Class in org.springframework.session.data.mongo
-
Deprecated.since 2.2.0 in favor of
ReactiveMongoSessionRepository
. - ReactiveMongoOperationsSessionRepository(ReactiveMongoOperations) - Constructor for class org.springframework.session.data.mongo.ReactiveMongoOperationsSessionRepository
-
Deprecated.
- 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
- ReactiveRedisOperationsSessionRepository - Class in org.springframework.session.data.redis
-
Deprecated.since 2.2.0 in favor of
ReactiveRedisSessionRepository
- ReactiveRedisOperationsSessionRepository(ReactiveRedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.ReactiveRedisOperationsSessionRepository
-
Deprecated.Create a new
ReactiveRedisOperationsSessionRepository
instance. - ReactiveRedisSessionRepository - Class in org.springframework.session.data.redis
-
A
ReactiveSessionRepository
that is implemented using Spring Data'sReactiveRedisOperations
. - ReactiveRedisSessionRepository(ReactiveRedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Create a new
ReactiveRedisSessionRepository
instance. - 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
- redisFlushMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
-
Deprecated.since 2.2.0 in favor of
EnableRedisHttpSession.flushMode()
- redisFlushMode() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.server.EnableRedisWebSession
-
Deprecated.since 2.2.0 as support
IMMEDIATE
is removed - RedisFlushMode - Enum Class in org.springframework.session.data.redis
-
Deprecated.since 2.2.0 in favor of
FlushMode
- RedisHttpSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.http
-
Exposes the
SessionRepositoryFilter
as a bean namedspringSessionRepositoryFilter
. - RedisHttpSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- RedisIndexedSessionRepository - Class in org.springframework.session.data.redis
-
A
SessionRepository
that is implemented using Spring Data'sRedisOperations
. - RedisIndexedSessionRepository(RedisOperations<Object, Object>) - Constructor for class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Creates a new instance.
- redisNamespace() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession
-
Defines a unique namespace for keys.
- redisNamespace() - Element in annotation interface org.springframework.session.data.redis.config.annotation.web.server.EnableRedisWebSession
-
Defines a unique namespace for keys.
- RedisOperationsSessionRepository - Class in org.springframework.session.data.redis
-
Deprecated.since 2.2.0 in favor of
RedisIndexedSessionRepository
- RedisOperationsSessionRepository(RedisOperations<Object, Object>) - Constructor for class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
Deprecated.Creates a new instance.
- RedisSessionRepository - Class in org.springframework.session.data.redis
-
A
SessionRepository
implementation that uses Spring Data'sRedisOperations
to store sessions is Redis. - RedisSessionRepository(RedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.RedisSessionRepository
-
Create a new
RedisSessionRepository
instance. - RedisWebSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.server
-
Exposes the
WebSessionManager
as a bean namedwebSessionManager
. - RedisWebSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- 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.mongo.MongoSession
- 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
- requireNonNull(T, String) - Static method in class org.springframework.session.data.mongo.Assert
- 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(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.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
. - 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.RedisHttpSessionConfiguration
- 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.RedisHttpSessionConfiguration
- 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.mongo.MongoSession
- 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.RedisHttpSessionConfiguration
- 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.RedisHttpSessionConfiguration
- setCleanupCron(String) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- 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(ConfigureRedisAction) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
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(long) - Method in class org.springframework.session.data.mongo.MongoSession
- 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.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
-
Sets the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.MapSessionRepository
-
If non-null, this value is used to override
Session.setMaxInactiveInterval(Duration)
. - setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.ReactiveMapSessionRepository
-
If non-null, this value is used to override
Session.setMaxInactiveInterval(Duration)
. - setDefaultMaxInactiveInterval(Integer) - 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(Integer) - 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.data.redis.RedisSessionRepository
-
Set the default maxInactiveInterval.
- setDefaultRedisSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setDefaultRedisSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setDefaultSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets the default redis serializer.
- 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.server.RedisWebSessionConfiguration
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- setExpireAt(Date) - Method in class org.springframework.session.data.mongo.MongoSession
- setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Sets the redis flush mode.
- setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Set the flush mode.
- 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.
- setHazelcast4SessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<Hazelcast4IndexedSessionRepository>>) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setHazelcastFlushMode(HazelcastFlushMode) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
-
Deprecated.
- setHazelcastFlushMode(HazelcastFlushMode) - Method in class org.springframework.session.hazelcast.HazelcastSessionRepository
-
Deprecated.since 2.2.0 in favor of
HazelcastIndexedSessionRepository.setFlushMode(FlushMode)
- 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.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<MongoSession>) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
- setIndexResolver(IndexResolver<MongoSession>) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setIndexResolver(IndexResolver<MongoSession>) - 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.RedisHttpSessionConfiguration
- 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.
- setKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Deprecated.since 2.4.0 in favor of
RedisSessionRepository.setRedisKeyNamespace(String)
- setLastAccessedTime(Instant) - Method in class org.springframework.session.data.mongo.MongoSession
- 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.MongoSession
- 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.RedisHttpSessionConfiguration
- setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
- 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.RedisWebSessionConfiguration
- setRedisConnectionFactory(ObjectProvider<RedisConnectionFactory>, ObjectProvider<RedisConnectionFactory>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
Deprecated.
- setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
-
Deprecated.
- setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.ReactiveRedisOperationsSessionRepository
-
Deprecated.since 2.2.0 as support
IMMEDIATE
is removed - setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
Deprecated.since 2.2.0 in favor of
RedisIndexedSessionRepository.setFlushMode(FlushMode)
- setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
- setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
- setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Set the Redis key namespace.
- setRedisNamespace(String) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setRedisNamespace(String) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setRedisSubscriptionExecutor(Executor) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- setRedisTaskExecutor(Executor) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- 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.RedisHttpSessionConfiguration
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
-
Set the save mode.
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
-
Set the save mode.
- setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.RedisSessionRepository
-
Set the save mode.
- 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(Map<String, Object>, String) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
- 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.
- 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<SessionRepositoryCustomizer<RedisIndexedSessionRepository>>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
- 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
- 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.RedisHttpSessionConfiguration
- SpringSessionRedisOperations - Annotation Interface in org.springframework.session.data.redis.config.annotation
-
Annotation used to inject the Redis accessor used by Spring Session's Redis session repository.
- 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
V
- valueOf(String) - Static method in enum class org.springframework.session.data.redis.RedisFlushMode
-
Deprecated.Returns the enum constant of this class with the specified name.
- 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.hazelcast.HazelcastFlushMode
-
Deprecated.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.data.redis.RedisFlushMode
-
Deprecated.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.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.hazelcast.HazelcastFlushMode
-
Deprecated.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
EnableHazelcastHttpSession.flushMode()