Class HudsonMonitoringFilter

java.lang.Object
net.bull.javamelody.MonitoringFilter
net.bull.javamelody.PluginMonitoringFilter
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter
All Implemented Interfaces:
javax.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(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
    void
    init(javax.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(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
      Specified by:
      init in interface javax.servlet.Filter
      Overrides:
      init in class net.bull.javamelody.PluginMonitoringFilter
      Throws:
      javax.servlet.ServletException
    • doFilter

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