Skip navigation links
Spring Session MongoDB
A C D E F G H I J M O R S 

A

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
 
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.
Assert - Class in org.springframework.session.data.mongo
 

C

changeSessionId() - Method in class org.springframework.session.data.mongo.MongoSession
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
 
convert(MongoSession) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
 
convert(Document) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
 
convert(MongoSession) - Method in class org.springframework.session.data.mongo.JacksonMongoSessionConverter
 
convert(Document) - Method in class org.springframework.session.data.mongo.JacksonMongoSessionConverter
 
convert(MongoSession) - Method in class org.springframework.session.data.mongo.JdkMongoSessionConverter
 
convert(Document) - Method in class org.springframework.session.data.mongo.JdkMongoSessionConverter
 
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 this ReactiveSessionRepository.

D

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_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.
deleteById(String) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
 
deleteById(String) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
 

E

EnableMongoHttpSession - Annotation Type 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 Type in org.springframework.session.data.mongo.config.annotation.web.reactive
Add this annotation to a @Configuration class to configure a MongoDB-based WebSessionManager 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.
equals(Object) - Method in class org.springframework.session.data.mongo.MongoSession
 
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
 
findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
Currently this repository allows only querying against PRINCIPAL_NAME_INDEX_NAME.

G

getAttribute(String) - Method in class org.springframework.session.data.mongo.MongoSession
 
getAttributeNames() - Method in class org.springframework.session.data.mongo.MongoSession
 
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
 
getCreationTime() - Method in class org.springframework.session.data.mongo.MongoSession
 
getExpireAt() - Method in class org.springframework.session.data.mongo.MongoSession
 
getId() - Method in class org.springframework.session.data.mongo.MongoSession
 
getLastAccessedTime() - Method in class org.springframework.session.data.mongo.MongoSession
 
getMaxInactiveInterval() - Method in class org.springframework.session.data.mongo.MongoSession
 
getMaxInactiveIntervalInSeconds() - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
 
getMaxInactiveIntervalInSeconds() - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
 
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
 

H

hashCode() - Method in class org.springframework.session.data.mongo.MongoSession
 

I

isExpired() - Method in class org.springframework.session.data.mongo.MongoSession
 

J

JacksonMongoSessionConverter - Class in org.springframework.session.data.mongo
AbstractMongoSessionConverter implementation using Jackson.
JacksonMongoSessionConverter() - Constructor for class org.springframework.session.data.mongo.JacksonMongoSessionConverter
 
JacksonMongoSessionConverter(Iterable<Module>) - Constructor for class org.springframework.session.data.mongo.JacksonMongoSessionConverter
 
JacksonMongoSessionConverter(ObjectMapper) - Constructor for class org.springframework.session.data.mongo.JacksonMongoSessionConverter
 
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
 

M

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
 
MongoSessionUtils() - Constructor for class org.springframework.session.data.mongo.MongoSessionUtils
 

O

org.springframework.session.data.mongo - package org.springframework.session.data.mongo
 
org.springframework.session.data.mongo.config.annotation.web - package org.springframework.session.data.mongo.config.annotation.web
 
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
 

R

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 provided ReactiveMongoOperations.
ReactiveMongoWebSessionConfiguration() - Constructor for class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
 
removeAttribute(String) - Method in class org.springframework.session.data.mongo.MongoSession
 
requireNonNull(T, String) - Static method in class org.springframework.session.data.mongo.Assert
 

S

save(MongoSession) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
 
save(MongoSession) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
 
setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
 
setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
 
setAttribute(String, Object) - Method in class org.springframework.session.data.mongo.MongoSession
 
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
 
setBlockingMongoOperations(MongoOperations) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
 
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
 
setCreationTime(long) - Method in class org.springframework.session.data.mongo.MongoSession
 
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
 
setExpireAt(Date) - Method in class org.springframework.session.data.mongo.MongoSession
 
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
 
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
 
setLastAccessedTime(Instant) - Method in class org.springframework.session.data.mongo.MongoSession
 
setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.mongo.MongoSession
 
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
 
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
 
setSessionRepositoryCustomizers(ObjectProvider<SessionRepositoryCustomizer<MongoIndexedSessionRepository>>) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
 
setSessionRepositoryCustomizers(ObjectProvider<ReactiveSessionRepositoryCustomizer<ReactiveMongoSessionRepository>>) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
 
A C D E F G H I J M O R S 
Skip navigation links
Spring Session MongoDB

Copyright © 2014–2021 Pivotal, Inc.. All rights reserved.