Class ModelAndView


  • public class ModelAndView
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelAndView​(java.lang.String viewName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addObject​(java.lang.String name, java.lang.Object modelObject)  
      java.util.Map<java.lang.String,​java.lang.Object> getModel()  
      java.lang.String getViewName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModelAndView

        public ModelAndView​(java.lang.String viewName)
    • Method Detail

      • addObject

        public void addObject​(java.lang.String name,
                              java.lang.Object modelObject)
      • getViewName

        public java.lang.String getViewName()
      • getModel

        public java.util.Map<java.lang.String,​java.lang.Object> getModel()