Class JKPingService
java.lang.Object
com.jk.services.server.JKAbstractRestController
com.jk.services.server.commons.services.JKPingService
This class provides a simple "ping" end-point for testing the availability of
a service.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Field Summary
Fields inherited from class com.jk.services.server.JKAbstractRestController
logger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jk.services.server.JKAbstractRestController
accepted, badRequest, forbidden, getHeader, getRemoteIp, getRemoteRole, getRemoteUser, getTenantId, interalServerError, notFound, ok, status, unauthorized
-
Constructor Details
-
JKPingService
public JKPingService()
-
-
Method Details
-
ping
This method responds with a message containing the service name.- Returns:
- the string message with the service name.
-