List of usage examples for org.springframework.web.bind.annotation RequestMethod GET
RequestMethod GET
To view the source code for org.springframework.web.bind.annotation RequestMethod GET.
Click Source Link
From source file:com.davidmogar.alsa.web.controllers.bus.BusController.java
@RequestMapping(value = "/admin/buses/create", method = RequestMethod.GET) public String createUser() { return "admin.buses.create"; }
From source file:com.jci.job.apis.FlatFileClient.java
/** * Processing intransit flat files.// w w w .j a v a 2s .c om * * @return the response entity */ @RequestMapping(value = "/processPoFlatFiles", method = RequestMethod.GET) public ResponseEntity<String> processPoFlatFiles();
From source file:com.springmvc.videoteca.springtiles.controller.HomeController.java
@RequestMapping(method = RequestMethod.GET) public String inicio(Model modelo) { modelo.addAttribute("estrenos", masVistoService.estrenos()); modelo.addAttribute("masvistos", masVistoService.masvistos()); return "/Home/index"; }
From source file:controller.KlasController.java
@RequestMapping(method = RequestMethod.GET) public String doGet(Model model) { List<Klas> klassen = klasManager.getItems(); model.addAttribute("klassen", klassen); return "klasOverview"; }
From source file:com.mohit.program.controller.product.DisplayController.java
@RequestMapping(method = RequestMethod.GET) public String doGet(ModelMap map) { try {/*from w w w .j a v a 2 s . com*/ map.addAttribute("product", productDao.getAll(false)); } catch (SQLException | ClassNotFoundException ex) { } return "product/display"; }
From source file:by.bsuir.finance.controllers.UserInfoController.java
@RequestMapping(value = "/username", method = RequestMethod.GET) public @ResponseBody String getUserName() { Authentication auth = SecurityContextHolder.getContext().getAuthentication(); String name = auth.getName(); //get logged in username return name;//from w w w .j ava2s.c o m }
From source file:com.eftech.wood.controllers.ControllerTest.java
@RequestMapping(value = "/camera", method = RequestMethod.GET) public ModelAndView userSorexInfo(HttpSession session) { ModelAndView mv = new ModelAndView("test"); // List<Hmc> listHmc = hmcJDBCTemplate.listHmc(); //// printInFile(listHmc.toString()); camara.snap();//from w ww . j a v a2s. c o m String str = camara.getSnap(); mv.addObject("str", str); // session.setAttribute("page", "index"); return mv; }
From source file:controller.LightController.java
@RequestMapping(value = { "light" }, method = RequestMethod.GET) public String showHomePage(Model model) { model.addAttribute("lamp", new Lamp()); try {/*w w w . j av a 2s . c o m*/ model.addAttribute("listLamps", colourService.getAvailableLamps()); } catch (NullPointerException exception) { return "error"; } return "light"; }
From source file:gaia.controller.RessourceController.java
@RequestMapping(value = "ressource_type", method = RequestMethod.GET) public String nourir(Model m) { return "ressource_type"; }
From source file:com.sapito.contabilidad.ContabilidadController.java
@RequestMapping(value = "contabilidad/contaActivoFijo", method = RequestMethod.GET) public String ContaActivoFijoo(Model model) { return "Contabilidad/contaActivoFijo"; }