Package org.trustdeck.controller
Class ApiRESTController
java.lang.Object
org.trustdeck.controller.ApiRESTController
Controller class to offer an interface to interact with basic API endpoints.
- Author:
- Armin Müller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> ping()This method functions as a ping endpoint.
-
Constructor Details
-
ApiRESTController
public ApiRESTController()
-
-
Method Details
-
ping
@GetMapping("/ping") public org.springframework.http.ResponseEntity<?> ping()This method functions as a ping endpoint.- Returns:
- a 200-OK status
-