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.github.bysrhq.belajar.web.HomePageController.java

@RequestMapping(value = "/", method = RequestMethod.GET)
public String showHomePage() {

    return "homePage";
}

From source file:controller.PollController.java

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

From source file:streaming.controller.EffacemoiController.java

@RequestMapping(value = "/effacemoi", method = RequestMethod.GET)
public String effaceMoi() {

    System.out.println("Passe par ici");

    return "effacemoi";
}

From source file:org.pavlov.springlocalexml.controller.HomeController.java

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

From source file:org.utb.project.controllers.PrincipalController.java

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

From source file:com.swcguild.addressbookarch.controller.Add.java

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

From source file:edu.lfa.df.controller.UserController.java

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

From source file:org.starfishrespect.myconsumption.server.business.controllers.ConfigController.java

@RequestMapping(value = "/co2", method = RequestMethod.GET)
public Double getkWhToCO2() {
    return 0.48; // 0,48 kg of CO2 per kWh
}

From source file:org.pavlov.springlocalejavaconfig.controller.HomeController.java

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

From source file:com.swcguild.addressbookarch.controller.ListAll.java

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