Jared Norris 8 vuotta sitten
vanhempi
commit
cb70cfc992
1 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  1. 12
    0
      initial/src/main/java/hello/App.groovy

+ 12
- 0
initial/src/main/java/hello/App.groovy Näytä tiedosto

@@ -0,0 +1,12 @@
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
+}