Class HealthHandler
java.lang.Object
org.codelibs.fess.api.v2.handlers.HealthHandler
Handles the
/api/v2/health endpoint.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Processes one health check request.
-
Constructor Details
-
HealthHandler
public HealthHandler()Default constructor used by the DI container.
-
-
Method Details
-
handle
public void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException Processes one health check request.- Parameters:
request- the incoming HTTP requestresponse- the HTTP response to write to- Throws:
IOException- if writing the envelope fails
-