spring-session
A B C D E G H I M N O P R S W 

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.
AbstractSessionWebSocketMessageBrokerConfigurer<S extends ExpiringSession> - 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

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

cleanupExpiredSessions() - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
 
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
 
CookieHttpSessionStrategy - Class in org.springframework.session.web.http
A HttpSessionStrategy that uses a cookie to obtain the session from.
CookieHttpSessionStrategy() - Constructor for class org.springframework.session.web.http.CookieHttpSessionStrategy
 
createSession() - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
 
createSession() - Method in class org.springframework.session.MapSessionRepository
 
createSession() - Method in interface org.springframework.session.SessionRepository
Creates a new Session that is capable of being persisted by this 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
 
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
 
delete(String) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
 
delete(String) - Method in class org.springframework.session.MapSessionRepository
 
delete(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
 

E

EnableRedisHttpSession - Annotation Type in org.springframework.session.data.redis.config.annotation.web.http
Add this annotation to an @Configuration class to expose the SessionRepositoryFilter as a bean named "springSessionRepositoryFilter" and backed by Redis.
enableRedisKeyspaceNotificationsInitializer(RedisConnectionFactory) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
encodeURL(String, String) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
encodeURL(String, String) - Method in interface org.springframework.session.web.http.HttpSessionManager
Provides the ability to encode the URL for a given session alias.
equals(Object) - Method in class org.springframework.session.MapSession
 
ExpiringSession - Interface in org.springframework.session
A Session that contains additional attributes that are useful for determining if a session is expired.

G

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.
getCreationTime() - Method in interface org.springframework.session.ExpiringSession
Gets the time when this session was created in milliseconds since midnight of 1/1/1970 GMT.
getCreationTime() - Method in class org.springframework.session.MapSession
 
getCurrentSessionAlias(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
getCurrentSessionAlias(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionManager
Gets the current session's alias from the HttpServletRequest.
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
getLastAccessedTime() - Method in interface org.springframework.session.ExpiringSession
Gets the last time this Session was accessed expressed in milliseconds since midnight of 1/1/1970 GMT
getLastAccessedTime() - Method in class org.springframework.session.MapSession
 
getMaxInactiveIntervalInSeconds() - Method in interface org.springframework.session.ExpiringSession
Gets the maximum inactive interval in seconds between requests before this session will be invalidated.
getMaxInactiveIntervalInSeconds() - Method in class org.springframework.session.MapSession
 
getNewSessionAlias(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
getNewSessionAlias(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionManager
Gets a new and unique Session alias.
getRequestedSessionId(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
getRequestedSessionId(HttpServletRequest) - Method in class org.springframework.session.web.http.HeaderHttpSessionStrategy
 
getRequestedSessionId(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionStrategy
Obtains the requested session id from the provided HttpServletRequest.
getSession(String) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
 
getSession(String) - Method in class org.springframework.session.MapSessionRepository
 
getSession(String) - Method in interface org.springframework.session.SessionRepository
Gets the Session by the Session.getId() or null if no Session is found.
getSessionDispatcherTypes() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Get the DispatcherType for the springSessionRepositoryFilter.
getSessionId() - Method in class org.springframework.session.events.SessionDestroyedEvent
 
getSessionId(Map<String, Object>) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
getSessionIds(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
getSessionIds(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionManager
Gets a mapping of the session alias to the session id from the HttpServletRequest
getWebSocketSession() - Method in class org.springframework.session.web.socket.events.SessionConnectEvent
 

H

hashCode() - Method in class org.springframework.session.MapSession
 
HeaderHttpSessionStrategy - Class in org.springframework.session.web.http
A HttpSessionStrategy that uses a header to obtain the session from.
HeaderHttpSessionStrategy() - Constructor for class org.springframework.session.web.http.HeaderHttpSessionStrategy
 
HttpSessionManager - Interface in org.springframework.session.web.http
Allows managing a mapping of alias to the session id for having multiple active sessions at the same time.
HttpSessionStrategy - Interface in org.springframework.session.web.http
A strategy for mapping HTTP request and responses to a Session.

I

insertFilters(ServletContext, Filter...) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
isAsyncSessionSupported() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Determine if the springSessionRepositoryFilter should be marked as supporting asynch.
isExpired() - Method in interface org.springframework.session.ExpiringSession
Returns true if the session is expired.
isExpired() - Method in class org.springframework.session.MapSession
 

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
MapSession(ExpiringSession) - 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() - Constructor for class org.springframework.session.MapSessionRepository
Creates an instance backed by a ConcurrentHashMap
MapSessionRepository(Map<String, ExpiringSession>) - Constructor for class org.springframework.session.MapSessionRepository
Creates a new instance backed by the provided Map.
MultiHttpSessionStrategy - Interface in org.springframework.session.web.http
Some HttpSessionStrategy may also want to further customize HttpServletRequest and HttpServletResponse objects.

N

NO_OP - Static variable in interface org.springframework.session.data.redis.config.ConfigureRedisAction
A do nothing implementation of ConfigureRedisAction.

O

onApplicationEvent(ApplicationEvent) - Method in class org.springframework.session.web.socket.handler.WebSocketRegistryListener
 
onInvalidateSession(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
onInvalidateSession(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.HeaderHttpSessionStrategy
 
onInvalidateSession(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.session.web.http.HttpSessionStrategy
This method is invoked when a session is invalidated and should inform a client that the session id is no longer valid.
onMessage(Message, byte[]) - Method in class org.springframework.session.data.redis.SessionMessageListener
 
onNewSession(Session, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
onNewSession(Session, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.HeaderHttpSessionStrategy
 
onNewSession(Session, HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.session.web.http.HttpSessionStrategy
This method is invoked when a new session is created and should inform a client what the new session id is.
onStartup(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
 
org.springframework.session - package org.springframework.session
 
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.web.http - package org.springframework.session.data.redis.config.annotation.web.http
 
org.springframework.session.events - package org.springframework.session.events
 
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.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
 

R

RedisHttpSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.http
Exposes the SessionRepositoryFilter as a bean named "springSessionRepositoryFilter".
RedisHttpSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
redisMessageListenerContainer(RedisConnectionFactory) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
RedisOperationsSessionRepository - Class in org.springframework.session.data.redis
A SessionRepository that is implemented using Spring Data's RedisOperations.
RedisOperationsSessionRepository(RedisConnectionFactory) - Constructor for class org.springframework.session.data.redis.RedisOperationsSessionRepository
Allows creating an instance and uses a default RedisOperations for both managing the session and the expirations.
RedisOperationsSessionRepository(RedisOperations<String, ExpiringSession>) - Constructor for class org.springframework.session.data.redis.RedisOperationsSessionRepository
Creates a new instance.
redisSessionMessageListener() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
registerStompEndpoints(StompEndpointRegistry) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
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
RequestResponsePostProcessor - Interface in org.springframework.session.web.http
Allows customizing the HttpServletRequest and/or the HttpServletResponse.

S

save(RedisOperationsSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
 
save(ExpiringSession) - Method in class org.springframework.session.MapSessionRepository
 
save(S) - Method in interface org.springframework.session.SessionRepository
Ensures the Session created by SessionRepository.createSession() is saved.
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
 
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
 
SessionDestroyedEvent - Class in org.springframework.session.events
For SessionRepository implementations that support it, this event is fired when a Session is destroyed either explicitly or via expiration.
SessionDestroyedEvent(Object, String) - Constructor for class org.springframework.session.events.SessionDestroyedEvent
 
SessionMessageListener - Class in org.springframework.session.data.redis
Listen for Redis Message notifications.
SessionMessageListener(ApplicationEventPublisher) - Constructor for class org.springframework.session.data.redis.SessionMessageListener
Creates a new instance
sessionRedisTemplate(RedisConnectionFactory) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
sessionRepository(RedisTemplate<String, ExpiringSession>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
SessionRepository<S extends Session> - Interface in org.springframework.session
A repository interface for managing Session instances.
SessionRepositoryFilter<S extends ExpiringSession> - 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 ExpiringSession> - Class in org.springframework.session.web.socket.server
Acts as a ChannelInterceptor and a HandshakeInterceptor to ensure the ExpiringSession.getLastAccessedTime() is up to date.
SessionRepositoryMessageInterceptor(SessionRepository<S>) - Constructor for class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
Creates a new instance
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.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setConfigureRedisAction(ConfigureRedisAction) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
Sets the action to perform for configuring Redis.
setCookieName(String) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
Sets the name of the cookie to be used
setCreationTime(long) - Method in class org.springframework.session.MapSession
Sets the time that this Session was created in milliseconds since midnight of 1/1/1970 GMT.
setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
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 ExpiringSession.setMaxInactiveIntervalInSeconds(int).
setHeaderName(String) - Method in class org.springframework.session.web.http.HeaderHttpSessionStrategy
The name of the header to obtain the session id from.
setHttpSessionStrategy(HttpSessionStrategy) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setHttpSessionStrategy(HttpSessionStrategy) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
Sets the HttpSessionStrategy to be used.
setHttpSessionStrategy(MultiHttpSessionStrategy) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
Sets the MultiHttpSessionStrategy to be used.
setId(String) - Method in class org.springframework.session.MapSession
Sets the identifier for this Session.
setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setLastAccessedTime(long) - Method in class org.springframework.session.MapSession
 
setMatchingMessageTypes(Set<SimpMessageType>) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
Sets the SimpMessageType to match on.
setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setMaxInactiveIntervalInSeconds(int) - Method in interface org.springframework.session.ExpiringSession
Sets the maximum inactive interval in seconds between requests before this session will be invalidated.
setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.MapSession
 
setServletContext(ServletContext) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
 
setSessionAliasParamName(String) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
Sets the name of the HTTP parameter that is used to specify the session alias.
setSessionId(Map<String, Object>, String) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
springSessionRepositoryFilter(SessionRepository<S>, ServletContext) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 

W

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
 
wrapRequest(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
wrapRequest(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.session.web.http.RequestResponsePostProcessor
Allows customizing the HttpServletRequest.
wrapResponse(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
 
wrapResponse(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.session.web.http.RequestResponsePostProcessor
Allows customizing the HttpServletResponse.
wsConnectHandlerDecoratorFactory() - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
A B C D E G H I M N O P R S W 
spring-session