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.amkaawaken.controllers.SponsorController.java

@RequestMapping(value = "/sponsors.htm", method = RequestMethod.GET)
public ModelAndView sponsor() {
    return new ModelAndView("com.amkaawaken.sponsors");
}

From source file:com.mascova.caliga.controller.DashboardController.java

@RequestMapping(method = RequestMethod.GET)
public ModelAndView root() {
    return new ModelAndView("dashboard/dashboard-index");
}

From source file:org.fon.documentmanagementsystem.controllers.LoginController.java

@RequestMapping(method = RequestMethod.GET)
public ModelAndView login() {
    return new ModelAndView("login");
}

From source file:com.example.Controller.ObradiMailController.java

@RequestMapping(value = "/test", method = RequestMethod.GET)
public Cars get() {
    Cars car = new Cars();
    car.setColor("bijela");
    car.setMiles(12444);//from  www .j  a v  a 2  s. c  om
    car.setVin(234);
    return car;
}

From source file:com.recursivechaos.janus.client.NounClient.java

@RequestMapping(method = RequestMethod.GET, value = "/nouns")
List<PagedResources<Noun>> getNouns();

From source file:com.sapito.rh.RecursosHumanosController.java

@RequestMapping(value = "recursoshumanos", method = RequestMethod.GET)
public String index(Model model) {
    return "RH/indexAdministrador";
}

From source file:com.onclave.testbench.TESTBENCH.TestbenchController.java

@RequestMapping(value = "/testbench/JSSubmit", method = RequestMethod.GET)
public String serverJSSubmitView() {
    return "/testbench/JSFormSubmit/jsFormSubmitTest";
}

From source file:com.stitchgalaxy.sg_manager_api.LoginController.java

@RequestMapping(value = "/login", method = RequestMethod.GET)
public @ResponseBody String login(HttpServletResponse response) {
    return "success";

}

From source file:com.jc.elementos.controller.ControladorHola.java

@RequestMapping(value = "/hola", method = RequestMethod.GET, headers = { "Accept=text/html" })
public @ResponseBody String holaConGet() {
    return "Este es mi primer controller con un get";
}

From source file:com.onclave.testbench.simpleControllerView.SimpleViewController.java

@RequestMapping(value = "/simpleView", method = RequestMethod.GET)
public ModelAndView returnSimpleView() {
    System.out.println("========In returnSimpleView========");

    return new ModelAndView("example/simpleView", "message", "The view is rendered from controller");
}