Class HudsonMonitoringFilter

java.lang.Object
net.bull.javamelody.MonitoringFilter
net.bull.javamelody.PluginMonitoringFilter
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter
All Implemented Interfaces:
jakarta.servlet.Filter

public class HudsonMonitoringFilter extends net.bull.javamelody.PluginMonitoringFilter
Filter of monitoring JavaMelody with security check for Hudson/Jenkins administrator.
Author:
Emeric Vernat
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain)
    void
    init(jakarta.servlet.FilterConfig config)

    Methods inherited from class net.bull.javamelody.PluginMonitoringFilter

    destroy, logForDebug

    Methods inherited from class net.bull.javamelody.MonitoringFilter

    createRequestWrapper, createResponseWrapper, getMonitoringUrl, getRequestName, isAllowed, isRumMonitoring, log, registerApplicationNodeInCollectServer, setApplicationType, unregisterApplicationNodeInCollectServer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HudsonMonitoringFilter

      public HudsonMonitoringFilter()
  • Method Details

    • getApplicationType

      public String getApplicationType()
      Overrides:
      getApplicationType in class net.bull.javamelody.MonitoringFilter
    • init

      public void init(jakarta.servlet.FilterConfig config) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Filter
      Overrides:
      init in class net.bull.javamelody.PluginMonitoringFilter
      Throws:
      jakarta.servlet.ServletException
    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doFilter in interface jakarta.servlet.Filter
      Overrides:
      doFilter in class net.bull.javamelody.PluginMonitoringFilter
      Throws:
      IOException
      jakarta.servlet.ServletException