com.tvd12.ezyhttp.server.management.HealthCheckController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ezyhttp-server-management Show documentation
Show all versions of ezyhttp-server-management Show documentation
Provider managment APIs for ezyhttp server
The newest version!
package com.tvd12.ezyhttp.server.management;
import com.tvd12.ezyhttp.core.response.ResponseEntity;
import com.tvd12.ezyhttp.server.core.annotation.Controller;
import com.tvd12.ezyhttp.server.core.annotation.DoGet;
import com.tvd12.ezyhttp.server.core.handler.ManagementController;
@Controller
public class HealthCheckController implements ManagementController {
@DoGet("/health-check")
public ResponseEntity healthCheck() {
return ResponseEntity.ok();
}
@DoGet("/management/health-check")
public ResponseEntity managementHealthCheck() {
return ResponseEntity.noContent();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy