Spring MVC names objects that contain a logical view name and the payload to render ModelAndView
, the JAX-RS implementation Jersey names them Viewable
. I like Viewable
a bit better, but maybe you have a better suggestion.
Example:
return new Viewable("index", payload);
How would you name a class, that combines a view (template) name and model objects, that should be displayed?