Skip to content

Commit

Permalink
added missing javadocs
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Aug 16, 2024
1 parent a0b8611 commit 6e23be4
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ public interface HealthService extends HttpService {
@Override
void routing(HttpRules httpRules);

/**
* Handles the request for liveness endpoint, that it most be defined on routing implementation.
*
* @param req the server request
* @param res the server response
*/
void handleLiveness(ServerRequest req, ServerResponse res);

/**
* Handles the request for readiness endpoint, that it most be defined on routing implementation.
* @param req the server request
* @param res the server response
*/
void handleReadiness(ServerRequest req, ServerResponse res);
}

0 comments on commit 6e23be4

Please sign in to comment.