クラス SessionFlashMapManager

java.lang.ObjectSE
org.springframework.web.servlet.support.AbstractFlashMapManager
org.springframework.web.servlet.support.SessionFlashMapManager
実装されているすべてのインターフェース:
FlashMapManager

public class SessionFlashMapManager extends AbstractFlashMapManager
HTTP セッションとの間で FlashMap インスタンスを保存および取得します。
導入:
3.1.1
作成者:
Rossen Stoyanchev, Juergen Hoeller
  • コンストラクターの詳細

    • SessionFlashMapManager

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

    • retrieveFlashMaps

      protected @Nullable ListSE<FlashMap> retrieveFlashMaps(jakarta.servlet.http.HttpServletRequest request)
      存在する場合、HTTP セッションから保存された FlashMap インスタンスを取得します。
      次で指定:
      クラス AbstractFlashMapManagerretrieveFlashMaps 
      パラメーター:
      request - 現在のリクエスト
      戻り値:
      FlashMap インスタンスを含むリスト、または何も見つからない場合は null 
    • updateFlashMaps

      protected void updateFlashMaps(ListSE<FlashMap> flashMaps, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      指定された FlashMap インスタンスを HTTP セッションに保存します。
      次で指定:
      クラス AbstractFlashMapManagerupdateFlashMaps 
      パラメーター:
      flashMaps - 保存する FlashMap インスタンスの(潜在的に空の)リスト
      request - 現在のリクエスト
      response - 現在のレスポンス
    • getFlashMapsMutex

      protected ObjectSE getFlashMapsMutex(jakarta.servlet.http.HttpServletRequest request)
      利用可能な最高のセッションミューテックスを公開します。
      オーバーライド:
      クラス AbstractFlashMapManagergetFlashMapsMutex 
      パラメーター:
      request - 現在のリクエスト
      戻り値:
      使用するミューテックス (該当しない場合は null )
      関連事項: