クラス SpringWebSessionConfiguration

java.lang.ObjectSE
org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration

@Configuration(proxyBeanMethods=false) public class SpringWebSessionConfiguration extends ObjectSE
アプリケーションコンテキストからリアクティブ ReactiveSessionRepository を使用して WebSessionManager を接続します。
導入:
2.0
関連事項:
  • コンストラクターの詳細

    • SpringWebSessionConfiguration

      public SpringWebSessionConfiguration()
  • メソッドの詳細

    • setWebSessionIdResolver

      @Autowired(required=false) public void setWebSessionIdResolver(org.springframework.web.server.session.WebSessionIdResolver webSessionIdResolver)
    • webSessionManager

      @Bean("webSessionManager") public org.springframework.web.server.session.WebSessionManager webSessionManager(ReactiveSessionRepository<? extends Session> repository)
      提供された ReactiveSessionRepository を使用して WebSessionManager を構成します。
      パラメーター:
      repository - ReactiveSessionRepository を実装する Bean。
      戻り値:
      構成済みの名前で登録された構成済みの WebSessionManager