Index
All Classes and Interfaces|All Packages|Constant Field Values
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
ReactiveIndexOperationsto ensure indexes exist.
C
- 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.
- 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
- createSession() - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- createSession() - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Creates a new
MongoSessionthat is capable of being persisted by thisReactiveSessionRepository.
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
-
Deprecated.
- DEFAULT_INACTIVE_INTERVAL - Static variable in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Deprecated.since 3.0.0 in favor of
MapSession.DEFAULT_MAX_INACTIVE_INTERVAL_SECONDS - 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 Interface in org.springframework.session.data.mongo.config.annotation.web.http
-
Add this annotation to a
@Configurationclass 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
@Configurationclass to configure a MongoDB-basedWebSessionManagerfor 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.
- 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
- 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
- getMaxInactiveInterval() - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- 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
J
- JacksonMongoSessionConverter - Class in org.springframework.session.data.mongo
-
AbstractMongoSessionConverterimplementation 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
- JdkMongoSessionConverter - Class in org.springframework.session.data.mongo
-
AbstractMongoSessionConverterimplementation 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
- 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.
- MongoHttpSessionConfiguration - Class in org.springframework.session.data.mongo.config.annotation.web.http
-
Configuration class registering
MongoSessionRepositorybean. - MongoHttpSessionConfiguration() - Constructor for class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- MongoIndexedSessionRepository - Class in org.springframework.session.data.mongo
-
Session repository implementation which stores sessions in Mongo.
- MongoIndexedSessionRepository(MongoOperations) - Constructor for class org.springframework.session.data.mongo.MongoIndexedSessionRepository
- mongoSessionRepository(MongoOperations) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
O
- 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
R
- reactiveMongoSessionRepository(ReactiveMongoOperations) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- ReactiveMongoSessionRepository - Class in org.springframework.session.data.mongo
-
A
ReactiveSessionRepositoryimplementation 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
ReactiveMongoSessionRepositoryusing a providedReactiveMongoOperations. - ReactiveMongoWebSessionConfiguration() - Constructor for class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
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
- 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
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
- 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
- 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<Session>) - Method in class org.springframework.session.data.mongo.AbstractMongoSessionConverter
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- setMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
-
Deprecated.
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.config.annotation.web.reactive.ReactiveMongoWebSessionConfiguration
-
Deprecated.
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.MongoIndexedSessionRepository
-
Deprecated.since 3.0.0, in favor of
MongoIndexedSessionRepository.setDefaultMaxInactiveInterval(Duration) - setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.data.mongo.ReactiveMongoSessionRepository
-
Deprecated.since 3.0.0, in favor of
ReactiveMongoSessionRepository.setDefaultMaxInactiveInterval(Duration) - 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<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
All Classes and Interfaces|All Packages|Constant Field Values
MapSession.DEFAULT_MAX_INACTIVE_INTERVAL_SECONDS