Package spark
Class ModelAndView
- java.lang.Object
-
- spark.ModelAndView
-
public class ModelAndView extends java.lang.Object
Model And View class is used to set the name of the view and the model object to be rendered.
-
-
Constructor Summary
Constructors Constructor Description ModelAndView(java.lang.Object model, java.lang.String viewName)
Constructs an instance with the provided model and view name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getModel()
java.lang.String
getViewName()
-