Jared Norris 8 лет назад
Родитель
Сommit
cb70cfc992
1 измененных файлов: 12 добавлений и 0 удалений
  1. 12
    0
      initial/src/main/java/hello/App.groovy

+ 12
- 0
initial/src/main/java/hello/App.groovy Просмотреть файл

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