We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b0c888 commit 277aa76Copy full SHA for 277aa76
src/main/java/org/springframework/samples/petclinic/system/StatusController.java
@@ -0,0 +1,16 @@
1
+package org.springframework.samples.petclinic.system;
2
+
3
+import org.springframework.http.HttpStatus;
4
+import org.springframework.stereotype.Controller;
5
+import org.springframework.web.bind.annotation.GetMapping;
6
+import org.springframework.web.bind.annotation.ResponseStatus;
7
8
+@Controller
9
+public class StatusController {
10
+ @GetMapping("/check")
11
+ @ResponseStatus(HttpStatus.OK)
12
+ public void Check() {
13
+ // all good
14
+ }
15
16
+}
0 commit comments