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. - Assert - Class in org.springframework.session.data.mongo
-
Utility to verify non null fields.
C
- changeSessionId() - Method in class org.springframework.session.data.mongo.MongoSession
- 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
-
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 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.
- 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
-
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
- MongoOperationsSessionRepository - Class in org.springframework.session.data.mongo
-
Deprecated.
- MongoOperationsSessionRepository(MongoOperations) - Constructor for class org.springframework.session.data.mongo.MongoOperationsSessionRepository
-
Deprecated.
- MongoSession - Class in org.springframework.session.data.mongo
-
Session object providing additional information about the datetime of expiration.
- MongoSession() - Constructor for class org.springframework.session.data.mongo.MongoSession
- MongoSession(long) - Constructor for class org.springframework.session.data.mongo.MongoSession
- MongoSession(String, long) - Constructor for class org.springframework.session.data.mongo.MongoSession
- mongoSessionRepository(MongoOperations) - Method in class org.springframework.session.data.mongo.config.annotation.web.http.MongoHttpSessionConfiguration
- MongoSessionUtils - Class in org.springframework.session.data.mongo
-
Utility for MongoSession.
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
- 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
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
- 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<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
MongoIndexedSessionRepository.