Class JKWebStackMonitor

java.lang.Object
com.jk.web.monitoring.JKMonitorService
com.jk.webstack.services.mointor.JKWebStackMonitor

public class JKWebStackMonitor extends JKMonitorService
This class is a service class used for handling and logging exceptions in a web stack.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Constructor Details

    • JKWebStackMonitor

      public JKWebStackMonitor()
      This method constructs a new JKWebStackMonitor.
  • Method Details

    • publish

      public void publish(jakarta.servlet.http.HttpServletRequest request, Throwable exception)
      This method logs an error or exception.
      Overrides:
      publish in class JKMonitorService
      Parameters:
      request - Specifies the HttpServletRequest object representing the current HTTP request.
      exception - Specifies the Throwable exception that needs to be logged.