类的使用
org.springframework.ui.ExtendedModelMap
使用ExtendedModelMap的程序包 程序包 说明 org.springframework.ui Generic support for UI layer concepts.org.springframework.validation.support Support classes for handling validation results.org.springframework.web.servlet.mvc.annotation Support package for annotation-based Servlet MVC controllers.org.springframework.ui中ExtendedModelMap的使用
返回ExtendedModelMap的org.springframework.ui中的方法 修饰符和类型 方法 说明 ExtendedModelMap
ExtendedModelMap. addAllAttributes(Collection<?> attributeValues)
ExtendedModelMap
ExtendedModelMap. addAllAttributes(Map<String,?> attributes)
ExtendedModelMap
ExtendedModelMap. addAttribute(Object attributeValue)
ExtendedModelMap
ExtendedModelMap. addAttribute(String attributeName, Object attributeValue)
ExtendedModelMap
ExtendedModelMap. mergeAttributes(Map<String,?> attributes)
org.springframework.validation.support中ExtendedModelMap的使用
org.springframework.validation.support中ExtendedModelMap的子类 修饰符和类型 类 说明 class
BindingAwareModelMap
Subclass ofExtendedModelMap
that automatically removes aBindingResult
object if the corresponding target attribute gets replaced through regularMap
operations.org.springframework.web.servlet.mvc.annotation中ExtendedModelMap的使用
参数类型为ExtendedModelMap的org.springframework.web.servlet.mvc.annotation中的方法 修饰符和类型 方法 说明 ModelAndView
ModelAndViewResolver. resolveModelAndView(Method handlerMethod, Class<?> handlerType, Object returnValue, ExtendedModelMap implicitModel, NativeWebRequest webRequest)