Add home page Web Service endpoint with description, 'Look-Aside Caching Example'.
This commit is contained in:
@@ -47,6 +47,11 @@ public class CounterController {
|
||||
this.counterService = counterService;
|
||||
}
|
||||
|
||||
@GetMapping("/")
|
||||
public String home() {
|
||||
return String.format(HEADER_ONE, "Look-Aside Caching Example");
|
||||
}
|
||||
|
||||
@GetMapping("/ping")
|
||||
public String ping() {
|
||||
return String.format(HEADER_ONE, "PONG");
|
||||
|
||||
Reference in New Issue
Block a user