Class ReactiveMongoSessionRepository

java.lang.Object
org.springframework.session.data.mongo.ReactiveMongoSessionRepository
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, ReactiveSessionRepository<MongoSession>
Direct Known Subclasses:
ReactiveMongoOperationsSessionRepository

public class ReactiveMongoSessionRepository extends Object implements ReactiveSessionRepository<MongoSession>, org.springframework.context.ApplicationEventPublisherAware, org.springframework.beans.factory.InitializingBean
A ReactiveSessionRepository implementation that uses Spring Data MongoDB.
Since:
2.2.0
  • Field Details

    • DEFAULT_INACTIVE_INTERVAL

      public static final int DEFAULT_INACTIVE_INTERVAL
      The default time period in seconds in which a session will expire.
      See Also:
    • DEFAULT_COLLECTION_NAME

      public static final String DEFAULT_COLLECTION_NAME
      The default collection name for storing session.
      See Also:
  • Constructor Details

    • ReactiveMongoSessionRepository

      public ReactiveMongoSessionRepository(org.springframework.data.mongodb.core.ReactiveMongoOperations mongoOperations)
  • Method Details