List of usage examples for org.springframework.ui Model toString
public String toString()
From source file:org.apereo.lap.controllers.HomeController.java
/** * Selects the home page and populates the model with a message *///from www . j a v a2s . c o m @RequestMapping(value = "/", method = RequestMethod.GET) public String home(Model model) { if (logger.isDebugEnabled()) { logger.debug("Model: " + model.toString()); } model.addAttribute("dev", "AZ"); // for testing model.addAttribute("processors", processingManagerService.getPipelineProcessors()); model.addAttribute("pipelines", processingManagerService.getPipelineConfigs().values()); model.addAttribute("outputDir", configuration.getOutputDirectory().getAbsolutePath()); model.addAttribute("inputDir", configuration.getInputDirectory().getAbsolutePath()); model.addAttribute("pipelinesDir", configuration.getPipelinesDirectory().getAbsolutePath()); model.addAttribute("temporaryDB", configuration.getConfig().getString("db.url")); model.addAttribute("persistentDB", configuration.getConfig().getString("edb.url")); return "home"; }