Class PingController

java.lang.Object
com.skava.marketplace.web.PingController

@RestController @RequestMapping("/ping") public class PingController extends Object
This controller class contains service end-point that is used to check if microservice is responsing to requests.
Author:
Infosys Equinox
  • Constructor Details

    • PingController

      public PingController()
      Default Constructor
  • Method Details

    • ping

      @GetMapping("") public String ping()
      Standard ping method used to check if microservice is responsing to requests.
      Parameters:
      httpServletRequest - A HttpServletRequest object that contains the request the client has made of the servlet.
      httpServletResponse - A HttpServletResponse object that contains the response the servlet sends to the client.
      Returns:
      The time stamp with pinging message.