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.amkaawaken.controllers.AboutController.java
@RequestMapping(value = "/contact_us.htm", method = RequestMethod.GET) public ModelAndView contact_us() { return new ModelAndView("com.amkaawaken.contact"); }
From source file:com.amkaawaken.controllers.SigninController.java
@RequestMapping(value = "/signup.htm", method = RequestMethod.GET) public ModelAndView signup() { return new ModelAndView("com.amkaawaken.signup"); }
From source file:com.ut.healthelink.controller.productSuiteController.java
/** * The '' request will display the product suite information page. *///from w w w .j a v a2 s .c o m @RequestMapping(value = "", method = RequestMethod.GET) public ModelAndView productSuite() throws Exception { ModelAndView mav = new ModelAndView(); mav.setViewName("/productSuite"); mav.addObject("pageTitle", "Product Suite"); return mav; }
From source file:cz.muni.fi.dndtroopsweb.controllers.BasicController.java
/** * just for testing purposes/*from w ww . jav a 2 s . co m*/ * @param request * @param response * @return */ @RequestMapping(value = "/logout", method = RequestMethod.GET) public String logoutPage(HttpServletRequest request, HttpServletResponse response) { request.setAttribute("authenticatedUser", null); response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); return "home"; }
From source file:org.ucll.ip.spring_ip_project.controller.MapController.java
@RequestMapping(method = RequestMethod.GET) public ModelAndView getMapInfo() { return new ModelAndView("mapinfo", "mapinfo", system.getMapInfo()); }
From source file:com.amkaawaken.controllers.EventsController.java
@RequestMapping(value = "/events_details.htm", method = RequestMethod.GET) public ModelAndView events_details() { return new ModelAndView("com.amkaawaken.events_details"); }
From source file:com.as.sagma.ControladorServicios.java
@RequestMapping(value = "/hola", method = RequestMethod.GET, headers = { "Accept=text/json" }) /** da la salida como texto o html **/ public @ResponseBody String enviarMensaje() { String mensajito = "Hola mundo desde Rest"; return mensajito; }
From source file:com.mascova.caliga.controller.DashboardController.java
@RequestMapping(value = "/index", method = RequestMethod.GET) public ModelAndView index() { return root(); }
From source file:edu.lfa.df.controller.DefaultController.java
@RequestMapping(method = RequestMethod.GET) public String index() { return "main"; }
From source file:com.revze.crudspring.controller.UserController.java
@RequestMapping(value = "/loggedin", method = RequestMethod.GET) public User getUserLoggedIn() { return null; }