public class WatcherServlet
extends javax.servlet.http.HttpServlet
Usage: Bind this servlet to a URL in your web application configuration, and ensure the URL is called periodically to log the current system status.
| Constructor and Description |
|---|
WatcherServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles GET requests by invoking the default watcher to log the current system status.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
doGet in class javax.servlet.http.HttpServletrequest - The HTTP request object.response - The HTTP response object.Copyright © 2010–2025. All rights reserved.