Example usage for org.springframework.web.bind.annotation RequestMethod GET

List of usage examples for org.springframework.web.bind.annotation RequestMethod GET

Introduction

In this page you can find the example usage for org.springframework.web.bind.annotation RequestMethod GET.

Prototype

RequestMethod GET

To view the source code for org.springframework.web.bind.annotation RequestMethod GET.

Click Source Link

Usage

From source file:com.sapito.compras.ComprasController.java

@RequestMapping(value = "compras", method = RequestMethod.GET)
public String index(Model model) {
    return "Compras/indexcompras";
}

From source file:controller.CreateController.java

@RequestMapping(method = RequestMethod.GET)
public String discription() {
    return "create";
}

From source file:core.controller.HelloController.java

@RequestMapping(method = RequestMethod.GET)
public String sayHello(HttpServletRequest request, ModelMap model) {
    return "hello";
}

From source file:com.tsg.sitemapwebappmvc.controller.HomeController.java

@RequestMapping(value = { "/", "/home" }, method = RequestMethod.GET)
public String getHomePage() {
    return "home";
}

From source file:com.ironyard.controller.mvc.PagesController.java

@RequestMapping(value = "/", method = RequestMethod.GET)
public String root() {
    return finderPage;
}

From source file:com.jelastic.campitos.ControladorInicio.java

@RequestMapping(value = "/hola", method = RequestMethod.GET, headers = { "Accept=text/html" })
public @ResponseBody String hola() {

    return "Hola mundo de spring con puro JAVA, cero xml!!!!";
}

From source file:com.test.spring.HelloController.java

@RequestMapping(method = RequestMethod.GET, produces = MediaType.TEXT_PLAIN_VALUE)
public String get(@RequestParam("test") String test) {
    return test;
}

From source file:com.sapito.contabilidad.ContabilidadController.java

@RequestMapping(value = "contabilidad", method = RequestMethod.GET)
public String index(Model model) {
    return "Contabilidad/indexcontabilidad";
}

From source file:com.dub.skoolie.web.controller.system.courses.SystemCourseController.java

@RequestMapping(value = "/system/courses", method = RequestMethod.GET)
public ModelAndView getCourses() {
    return new ModelAndView("test");
}

From source file:com.healthcit.analytics.servlet.LogoutController.java

@RequestMapping(method = RequestMethod.GET)
public String logout(HttpSession session) {
    session.invalidate();

    return "redirect:/";
}