All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.crazyyak.dev.webmvc.Viewable Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package org.crazyyak.dev.webmvc;

import org.springframework.web.servlet.ModelAndView;

public class Viewable extends ModelAndView {

  public Viewable() {
  }

  public Viewable(String viewName) {
    super(viewName);
  }

  public Viewable(org.springframework.web.servlet.View view) {
    super(view);
  }

//  public Viewable(String viewName, Map model) {
//    super(viewName, model);
//  }

//  public Viewable(org.springframework.web.servlet.View view, Map model) {
//    super(view, model);
//  }

  public Viewable(String viewName, Object modelObject) {
    super(viewName, "it", modelObject);
  }

  public Viewable(org.springframework.web.servlet.View view, Object modelObject) {
    super(view, "it", modelObject);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy