Class ApiRESTController

java.lang.Object
org.trustdeck.controller.ApiRESTController

@RestController @RequestMapping("/api") public class ApiRESTController extends Object
Controller class to offer an interface to interact with basic API endpoints.
Author:
Armin Müller
  • 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