Package spring.page

Class GreetingController

java.lang.Object
spring.page.GreetingController

@Controller public class GreetingController extends Object
  • Constructor Details

    • GreetingController

      public GreetingController()
  • Method Details

    • greeting

      @GetMapping("/greeting") public String greeting(@RequestParam(name="name",required=false,defaultValue="World") String name, org.springframework.ui.Model model)