Skip navigation links
A B C D E F G H I L M N O P R S U V W X 

A

AbstractHttpSessionApplicationInitializer - Class in org.springframework.session.web.context
Registers the DelegatingFilterProxy to use the springSessionRepositoryFilter before any other registered Filter.
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.
AbstractSessionEvent - Class in org.springframework.session.events
For SessionRepository implementations that support it, this event is fired when a Session 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
 
afterSessionRepositoryFilter(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Invoked after the springSessionRepositoryFilter is added.
appendFilters(ServletContext, Filter...) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
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.MapSession
 
changeSessionId() - Method in interface org.springframework.session.Session
Changes the session id.
configureClientInboundChannel(ChannelRegistration) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
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
 
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.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 this ReactiveSessionRepository.
createSession() - Method in interface org.springframework.session.SessionRepository
Creates a new Session that is capable of being persisted by this SessionRepository.
createWebSession() - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
 
customize(T) - Method in interface org.springframework.session.config.ReactiveSessionRepositoryCustomizer
customize(T) - Method in interface org.springframework.session.config.SessionRepositoryCustomizer
Customize the SessionRepository.

D

decorate(WebSocketHandler) - Method in class org.springframework.session.web.socket.handler.WebSocketConnectHandlerDecoratorFactory
 
DEFAULT_FILTER_NAME - Static variable in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
The default name for Spring Session's repository filter.
DEFAULT_MAX_INACTIVE_INTERVAL_SECONDS - Static variable in class org.springframework.session.MapSession
DEFAULT_ORDER - Static variable in class org.springframework.session.web.http.SessionRepositoryFilter
The default filter order.
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.MapSessionRepository
 
deleteById(String) - Method in class org.springframework.session.ReactiveMapSessionRepository
 
deleteById(String) - Method in interface org.springframework.session.ReactiveSessionRepository
Deletes the Session with the given Session.getId() or does nothing if the Session is not found.
deleteById(String) - Method in interface org.springframework.session.SessionRepository
Deletes the Session with the given Session.getId() or does nothing if the Session is not found.
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

EnableSpringHttpSession - Annotation Type 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 of SessionRepository.
EnableSpringWebSession - Annotation Type in org.springframework.session.config.annotation.web.server
Add this annotation to a @Configuration class to configure a WebSessionManager for a WebFlux application.
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.

F

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
Gets the Session by the Session.getId() or null if no Session is found.
findById(String) - Method in interface org.springframework.session.SessionRepository
Gets the Session by the Session.getId() or null if no Session is found.
findByIndexNameAndIndexValue(String, String) - Method in interface org.springframework.session.FindByIndexNameSessionRepository
Find a Map of the session id to the Session of all sessions that contain the specified index name index value.
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 the Session of all sessions that contain the index with the name FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME and the specified principal name.
FlushMode - Enum 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
 
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.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.
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.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's WebApplicationContext to find the DelegatingFilterProxy or null to use the parent ApplicationContext.
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.MapSession
 
getLastAccessedTime() - Method in interface org.springframework.session.Session
Gets the last time this Session was accessed.
getMaxInactiveInterval() - Method in class org.springframework.session.MapSession
 
getMaxInactiveInterval() - Method in interface org.springframework.session.Session
Gets the maximum inactive interval between requests before this session will be invalidated.
getOriginalId() - Method in class org.springframework.session.MapSession
Get the original session id.
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.
getSessionDispatcherTypes() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Get the DispatcherType for the springSessionRepositoryFilter.
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
 
getWebSocketSession() - Method in class org.springframework.session.web.socket.events.SessionConnectEvent
 

H

hashCode() - Method in class org.springframework.session.MapSession
 
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

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
 
insertFilters(ServletContext, Filter...) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Inserts the provided Filters before existing Filters using default generated names, AbstractHttpSessionApplicationInitializer.getSessionDispatcherTypes(), and AbstractHttpSessionApplicationInitializer.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.MapSession
 
isExpired() - Method in interface org.springframework.session.Session
Returns true if the session is expired.

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
A Session implementation that is backed by a Map.
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
A SessionRepository backed by a Map and that uses a MapSession.
MapSessionRepository(Map<String, Session>) - Constructor for class org.springframework.session.MapSessionRepository
Creates a new instance backed by the provided Map.

N

name(Object) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
Derives a String name for the given principal.

O

onApplicationEvent(AbstractSessionEvent) - Method in class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
 
onApplicationEvent(ApplicationEvent) - Method in class org.springframework.session.web.socket.handler.WebSocketRegistryListener
 
onStartup(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
 
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.events - package org.springframework.session.events
 
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

preSend(Message<?>, MessageChannel) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
PRINCIPAL_NAME_INDEX_NAME - Static variable in interface org.springframework.session.FindByIndexNameSessionRepository
A session index that contains the current principal name (i.e.
PrincipalNameIndexResolver<S extends Session> - Class in org.springframework.session
IndexResolver to resolve the principal name from session attribute named FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME or Spring Security context stored in the session under SPRING_SECURITY_CONTEXT attribute.
PrincipalNameIndexResolver() - Constructor for class org.springframework.session.PrincipalNameIndexResolver
 

R

ReactiveMapSessionRepository - Class in org.springframework.session
A ReactiveSessionRepository backed by a Map and that uses a MapSession.
ReactiveMapSessionRepository(Map<String, Session>) - Constructor for class org.springframework.session.ReactiveMapSessionRepository
Creates a new instance backed by the provided Map.
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.
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
 
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.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
 
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(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 by ReactiveSessionRepository.createSession() is saved.
save(S) - Method in interface org.springframework.session.SessionRepository
Ensures the Session created by SessionRepository.createSession() is saved.
SaveMode - Enum 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 the WebSocketSession to allow mapping the Spring Session to the WebSocketSession.
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 a Session 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 a Session 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 and SessionCreatedEvent and translates them into HttpSessionEvent and submits the HttpSessionEvent to every registered HttpSessionListener.
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 a Session is destroyed via expiration.
SessionExpiredEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionExpiredEvent
Create a new SessionExpiredEvent.
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 a Session.
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 a HandshakeInterceptor to ensure the Session.getLastAccessedTime() is up to date.
SessionRepositoryMessageInterceptor(SessionRepository<S>) - Constructor for class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
Creates a new instance.
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
 
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.
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.
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.
setCreationTime(Instant) - Method in class org.springframework.session.MapSession
Sets the time that this Session was created.
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).
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().
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.
setJvmRoute(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Used to identify which JVM to route to for session affinity.
setLastAccessedTime(Instant) - Method in class org.springframework.session.MapSession
 
setLastAccessedTime(Instant) - Method in interface org.springframework.session.Session
Sets the last accessed time.
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.MapSession
 
setMaxInactiveInterval(Duration) - Method in interface org.springframework.session.Session
Sets the maximum inactive interval between requests before this session will be invalidated.
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.
setServletContext(ServletContext) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
setServletContext(ServletContext) - Method in class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
 
setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
 
setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
 
setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in interface org.springframework.session.web.http.HttpSessionIdResolver
Send the given session id to the client.
setSessionId(Map<String, Object>, String) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
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
 
SingleIndexResolver<S extends Session> - Class in org.springframework.session
Base class for IndexResolvers 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
 
SpringSessionRememberMeServices - Class in org.springframework.session.security.web.authentication
A RememberMeServices implementation that uses Spring Session backed HttpSession 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 the WebSession implementation backed by a Session returned by the ReactiveSessionRepository.
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 Reactive ReactiveSessionRepository from the application context.
SpringWebSessionConfiguration() - Constructor for class org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration
 

U

updateLastAccessTime(WebSession) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
 

V

valueOf(String) - Static method in enum org.springframework.session.FlushMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.session.SaveMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.session.FlushMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.session.SaveMode
Returns an array containing the constants of this enum type, 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 provided ReactiveSessionRepository.
WebSocketConnectHandlerDecoratorFactory - Class in org.springframework.session.web.socket.handler
Ensures that a SessionConnectEvent is published in WebSocketHandler.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 a SessionDestroyedEvent is fired that the WebSocketSession is closed.
WebSocketRegistryListener() - Constructor for class org.springframework.session.web.socket.handler.WebSocketRegistryListener
 
writeCookieValue(CookieSerializer.CookieValue) - Method in interface org.springframework.session.web.http.CookieSerializer
Writes a given CookieSerializer.CookieValue to the provided HttpServletResponse.
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.
A B C D E F G H I L M N O P R S U V W X 
Skip navigation links