接口的使用
org.springframework.web.servlet.mvc.support.RedirectAttributes
使用RedirectAttributes的程序包 程序包 说明 org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.servlet.mvc.support中RedirectAttributes的使用
实现RedirectAttributes的org.springframework.web.servlet.mvc.support中的类 修饰符和类型 类 说明 class
RedirectAttributesModelMap
返回RedirectAttributes的org.springframework.web.servlet.mvc.support中的方法 修饰符和类型 方法 说明 RedirectAttributes
RedirectAttributes. addAllAttributes(Collection<?> attributeValues)
RedirectAttributes
RedirectAttributes. addAttribute(Object attributeValue)
RedirectAttributes
RedirectAttributes. addAttribute(String attributeName, Object attributeValue)
RedirectAttributes
RedirectAttributes. addFlashAttribute(Object attributeValue)
Add the given flash storage using agenerated name
.RedirectAttributes
RedirectAttributes. addFlashAttribute(String attributeName, Object attributeValue)
Add the given flash attribute.RedirectAttributes
RedirectAttributesModelMap. addFlashAttribute(Object attributeValue)
RedirectAttributes
RedirectAttributesModelMap. addFlashAttribute(String attributeName, Object attributeValue)
RedirectAttributes
RedirectAttributes. mergeAttributes(Map<String,?> attributes)