クラスの使用
org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
org.springframework.web.servlet.mvc.support 内の RedirectAttributesModelMap 使用
修飾子と型メソッド説明RedirectAttributesModelMap.addAllAttributes
(CollectionSE<?> attributeValues) 各要素の属性名の生成を使用して、提供されたCollection
のすべての属性をこのMap
にコピーします。RedirectAttributesModelMap.addAllAttributes
(MapSE<StringSE, ?> attributes) 指定されたMap
のすべての属性をこのMap
にコピーします。RedirectAttributesModelMap.addAttribute
(ObjectSE attributeValue) generated name
を使用して、このMap
に提供された属性を追加します。RedirectAttributesModelMap.addAttribute
(StringSE attributeName, ObjectSE attributeValue) 指定された名前に指定された属性を追加します。RedirectAttributesModelMap.mergeAttributes
(MapSE<StringSE, ?> attributes) 指定されたMap
のすべての属性をこのMap
にコピーします。同じ名前の既存のオブジェクトが優先されます(つまり