#8 J-N000

Otwarty
J-N000 chce scalić 1 commity/ów z J-N000/ZCW-SpringOne:master do master
1 zmienionych plików z 12 dodań i 0 usunięć
  1. 12
    0
      initial/src/main/java/hello/App.groovy

+ 12
- 0
initial/src/main/java/hello/App.groovy Wyświetl plik

@@ -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
+}