Class DistributableWebSessionManager

java.lang.Object
org.wildfly.clustering.spring.web.DistributableWebSessionManager
All Implemented Interfaces:
AutoCloseable, org.springframework.web.server.session.WebSessionManager

public class DistributableWebSessionManager extends Object implements org.springframework.web.server.session.WebSessionManager, AutoCloseable
A distributable WebSessionManager implementation. The avoidance of DefaultWebSessionManager with SpringSessionWebSessionStore is intentional, since that implementation is unsafe for modification by multiple threads.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • getSession

      public reactor.core.publisher.Mono<org.springframework.web.server.WebSession> getSession(org.springframework.web.server.ServerWebExchange exchange)
      Specified by:
      getSession in interface org.springframework.web.server.session.WebSessionManager
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable