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
-
Method Summary
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
-
Constructor Details
-
HudsonMonitoringFilter
public HudsonMonitoringFilter()
-
-
Method Details
-
getApplicationType
- Overrides:
getApplicationType
in classnet.bull.javamelody.MonitoringFilter
-
init
public void init(jakarta.servlet.FilterConfig config) throws jakarta.servlet.ServletException - Specified by:
init
in interfacejakarta.servlet.Filter
- Overrides:
init
in classnet.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 interfacejakarta.servlet.Filter
- Overrides:
doFilter
in classnet.bull.javamelody.PluginMonitoringFilter
- Throws:
IOException
jakarta.servlet.ServletException
-