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.example.Controller.ObradiMailController.java
@RequestMapping(method = RequestMethod.GET, value = "/api/javainuse") public String sayHello() { return "Swagger Hello World"; }
From source file:com.victor.fishhub.controller.ViewsController.java
@RequestMapping(value = "/", method = RequestMethod.GET) public String doHome() { return "home"; }
From source file:tudu.web.mvc.LicenseController.java
/** * Shows the Tudu Lists' license./*from w w w.ja v a2 s .co m*/ */ @RequestMapping(value = "/license", method = RequestMethod.GET) public String license() { return "license"; }
From source file:br.com.helio.pocspringmvc.web.HomeController.java
@RequestMapping(method = RequestMethod.GET, value = "/") public String home() { return "layout/main"; }
From source file:jquery.controller.HomeController.java
@RequestMapping(value = "/", method = RequestMethod.GET) public String home() { return "_TEMPLATE"; }
From source file:com.github.hateoas.forms.spring.uber.UberAction.java
/** * Maps given request method to uber action, GET will be mapped as null since it is the default. * * @param method to map/*www. j av a 2 s.c o m*/ * @return action, or null for GET */ public static UberAction forRequestMethod(RequestMethod method) { if (RequestMethod.GET == method) { return null; } for (UberAction action : UberAction.values()) { if (action.httpMethod == method) { return action; } } throw new IllegalArgumentException("unsupported method: " + method); }
From source file:streaming.controller.HomeController.java
@RequestMapping(value = "/", method = RequestMethod.GET) public String home() { System.out.println("Passe par ici"); return "Home"; }
From source file:com.ameer.testweb.presentation.HomeController.java
@RequestMapping(value = "/", method = RequestMethod.GET) public String getIndex() { return "index"; }
From source file:com.tamnd.app.controller.IndexController.java
@RequestMapping(value = { "/" }, method = RequestMethod.GET) public String getIndexPage() { return "static/index.html"; }
From source file:controle.PrincipalController.java
@RequestMapping(value = "/index.htm", method = RequestMethod.GET) public String chamarIndex() { return "index"; }