java.lang.Object
es.kukenan.smartfi.microservice.onboarding.controller.HealthController
@RestController
@RequestMapping("/health")
public class HealthController
extends Object
Health controller.
-
Constructor Summary
Constructors
-
Method Summary
org.springframework.http.ResponseEntity<Object>
Get for check Health of Application.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
HealthController
public HealthController()
-
Method Details
-
health
@GetMapping(produces="application/json")
public org.springframework.http.ResponseEntity<Object> health()
throws
Exception
Get for check Health of Application.
- Returns:
- Http status .
- Throws:
Exception - exception for error.