|
对于最新稳定版本,请使用Spring Boot 4.0.0! |
关闭(关闭)
这关闭端点用于关闭应用程序。
关闭应用
要关闭应用,请设置发布请求/执行器/关机如以下基于卷度的示例所示:
$ curl 'http://localhost:8080/actuator/shutdown' -i -X POST
给出类似以下的回答:
HTTP/1.1 200 OK
Content-Type: application/vnd.spring-boot.actuator.v3+json
Content-Length: 41
{
"message" : "Shutting down, bye..."
}