Handles the operations of a heartbeat service.
Extends: RestOperations
Description
The HeartBeatOperations class is used to handle the operations of a heartbeat service.
Instance methods
heartbeat
Creates a heartbeat. Send request with the current time in UTC.
publicResponse heartbeat(ContainerRequestContext req)
- req: ContainerRequestContext - an HTTP request
- res: Response - an HTTP response
getHeartbeatOperation
Gets the heartbeat operation
publicFunction<ContainerRequestContext, Response> getHeartbeatOperation()
- returns: function - heartbeat operation