Jared Norris před 8 roky
rodič
revize
cb70cfc992
1 změnil soubory, kde provedl 12 přidání a 0 odebrání
  1. 12
    0
      initial/src/main/java/hello/App.groovy

+ 12
- 0
initial/src/main/java/hello/App.groovy Zobrazit soubor

1
+import org.springframework.web.bind.annotation.RequestMapping
2
+import org.springframework.web.bind.annotation.RestController
3
+
4
+@RestController
5
+class ThisWillActuallyRun {
6
+
7
+    @RequestMapping("/")
8
+    String home() {
9
+        return "Hello World!"
10
+    }
11
+
12
+}