クラスの使用
org.springframework.ui.ModelMap
ModelMap を使用するパッケージ
パッケージ
説明
org.springframework.orm.hibernate5
パッケージをサポートするクラス。org.springframework.orm.jpa
パッケージをサポートするクラス。UI レイヤーの概念の一般的なサポート。
検証結果を処理するためのクラスをサポートします。
一般的なリクエストコンテキストの保持、特に HTTP リクエストまたは HTTP セッションごとのアプリケーションオブジェクトのスコープのサポート。
ハンドラーメソッド処理の汎用サポートクラス。
アプリケーションコンテキストインフラストラクチャと統合するサーブレット、および Spring Web MVC フレームワークのコアインターフェースとクラスを提供します。
MVC コントローラーのサポートパッケージ。
org.springframework.orm.hibernate5.support 内の ModelMap 使用
型 ModelMap のパラメーターを持つ org.springframework.orm.hibernate5.support のメソッドorg.springframework.orm.jpa.support 内の ModelMap 使用
型 ModelMap のパラメーターを持つ org.springframework.orm.jpa.support のメソッドorg.springframework.ui 内の ModelMap 使用
org.springframework.ui 内の ModelMap サブクラスModelMap を返す org.springframework.ui のメソッド修飾子と型メソッド説明ModelMap.addAllAttributes
(CollectionSE<?> attributeValues) 各要素の属性名の生成を使用して、提供されたCollection
のすべての属性をこのMap
にコピーします。ModelMap.addAllAttributes
(MapSE<StringSE, ?> attributes) 指定されたMap
のすべての属性をこのMap
にコピーします。ModelMap.addAttribute
(ObjectSE attributeValue) generated name
を使用して、このMap
に提供された属性を追加します。ModelMap.addAttribute
(StringSE attributeName, ObjectSE attributeValue) 指定された名前に指定された属性を追加します。ModelMap.mergeAttributes
(MapSE<StringSE, ?> attributes) 指定されたMap
のすべての属性をこのMap
にコピーします。同じ名前の既存のオブジェクトが優先されます(つまりorg.springframework.validation.support 内の ModelMap 使用
修飾子と型クラス説明class
org.springframework.web.context.request 内の ModelMap 使用
型 ModelMap のパラメーターを持つ org.springframework.web.context.request のメソッド修飾子と型メソッド説明void
WebRequestInterceptor.postHandle
(WebRequest request, ModelMap model) 呼び出しが成功した後、ビューのレンダリングの前に(もしあれば)リクエストハンドラーの実行をインターセプトします。org.springframework.web.method.support 内の ModelMap 使用
修飾子と型メソッド説明ModelAndViewContainer.getDefaultModel()
インスタンス化時に作成された "default" モデルを返します。ModelAndViewContainer.getModel()
使用するモデル、つまり "default" または「リダイレクト」モデルを返します。型 ModelMap のパラメーターを持つ org.springframework.web.method.support のメソッド修飾子と型メソッド説明void
ModelAndViewContainer.setRedirectModel
(ModelMap redirectModel) リダイレクトシナリオで使用する別のモデルインスタンスを提供します。org.springframework.web.servlet 内の ModelMap 使用
ModelMap を返す org.springframework.web.servlet のメソッドorg.springframework.web.servlet.mvc.support 内の ModelMap 使用
修飾子と型クラス説明class