spring cloud : spring cloud gateway - custom filter, global filter

This commit is contained in:
haerong22
2021-09-17 01:50:01 +09:00
parent 80d7f018b6
commit 8b0ecf8b28
5 changed files with 107 additions and 4 deletions

View File

@@ -21,4 +21,9 @@ public class SecondServiceController {
log.info(header);
return "Hello World in Second Service.";
}
@GetMapping("/check")
public String check() {
return "Hi, there. This is a message from Second Service.";
}
}