@Controller
public class GreetingController
extends Object
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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)