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.carranza.web.examenbimestral.ControladorExamen.java
@RequestMapping(value = "/servicio-calificaciones", method = RequestMethod.GET, headers = ("Accept=Application/json")) @ResponseBody// w ww . ja v a 2 s . c o m ArrayList<Evaluacion> cali() { return GeneradorCalificaciones.Generarcalificaciones(); }
From source file:com.recursivechaos.janus.client.AdjectiveClient.java
@RequestMapping(method = RequestMethod.GET, value = "/adjectives") //ResponseEntity<PagedResources<Resource<Adjective>>> getAdjectives(); PagedResources<Resource<Adjective>> getAdjectives();
From source file:com.tamnd.app.controller.TestController.java
@RequestMapping(value = "/test", method = RequestMethod.GET) @ResponseBody public String isItWorking() { return "App without web.xml works"; }
From source file:de.asgarbayli.rashad.hbd.controllers.DefaultController.java
@RequestMapping(value = "/", method = RequestMethod.GET) public String index(ModelMap map) { return "redirect:" + Navigation.DASHBOARD; }
From source file:com.test1.controller.HomeController.java
@RequestMapping(value = "/home", method = RequestMethod.GET) public ModelAndView home(@RequestParam("username") String username, @RequestParam("password") String password) { ModelAndView mav = new ModelAndView(); mav.addObject("username", username); mav.addObject("password", password); mav.setViewName("home"); return mav;/* w ww . j a v a 2 s.c om*/ }
From source file:edu.pitt.sis.infsci2730.finalProject.web.HomeController.java
@RequestMapping(value = "", method = RequestMethod.GET) public ModelAndView mypage(HttpSession session) { return new ModelAndView("index"); }
From source file:sjsu.edu.cmpe275.controller.GuestController.java
@RequestMapping(method = RequestMethod.GET) public String listGuests(ModelMap model) { System.out.println("In the method of LstGuest "); List<Guest> guests = guestService.listGuests(); printBeans(guests);//from www.j a v a 2s. c om model.addAttribute("guests", guests); return "guestList"; }
From source file:com.base.controller.AllController.java
@RequestMapping(value = "/admin/all", method = RequestMethod.GET) public String renderCourse(ModelMap map) { map.addAttribute("course", new Courses()); try {//from w w w . j a v a 2 s . c o m map.addAttribute("courses", CourseDAO.getCourses()); } catch (Exception e) { e.printStackTrace(); } return "course"; }
From source file:com.chevres.rss.restapi.controller.IndexController.java
@CrossOrigin @RequestMapping(path = "/", method = RequestMethod.GET) public String index(ModelMap map) { map.put("msg", "Rss Feed Rest Api"); return "index"; }
From source file:com.aries.blog.controller.IndexController.java
@RequestMapping(value = "/", method = RequestMethod.GET) public String index(ModelMap model, HttpServletRequest request) { model.addAttribute(PARAM_BASE_URL, getBaseURL(request)); return "index"; }