クラス HttpSessionDestroyedEvent

実装されたすべてのインターフェース:
SerializableSE

public class HttpSessionDestroyedEvent extends SessionDestroyedEvent
HttpSession がコンテナーから削除されると、HttpSessionEventPublisher によって公開されます
関連事項:
  • コンストラクターの詳細

    • HttpSessionDestroyedEvent

      public HttpSessionDestroyedEvent(jakarta.servlet.http.HttpSession session)
  • メソッドの詳細

    • getSession

      public jakarta.servlet.http.HttpSession getSession()
    • getSecurityContexts

      public ListSE<SecurityContext> getSecurityContexts()
      クラスからコピーされた説明: SessionDestroyedEvent
      破棄されたセッションに関連付けられた SecurityContext インスタンスを提供します。通常、セッションごとにセキュリティコンテキストは 1 つだけです。
      次で指定:
      クラス SessionDestroyedEventgetSecurityContexts 
      戻り値:
      現在のセッションに保存された SecurityContext インスタンス(ない場合は空のリスト)。
    • getId

      public StringSE getId()
      次で指定:
      クラス SessionDestroyedEventgetId 
      戻り値:
      破棄されたセッションに関連付けられた識別子。