kieker.monitoring.probe.servlet
Class OperationExecutionRegistrationFilter
java.lang.Object
kieker.monitoring.probe.servlet.OperationExecutionRegistrationFilter
- All Implemented Interfaces:
- javax.servlet.Filter, IMonitoringProbe
public class OperationExecutionRegistrationFilter
- extends Object
- implements javax.servlet.Filter, IMonitoringProbe
Register session id (if it exists) of incoming request.
The execution of the filter is not logged.
Servlet filter used to register session ids.
It can be integrated into the web.xml as follows:
sessionRegistrationFilter
kieker.monitoring.probe.servlet.OperationExecutionRegistrationFilter
sessionRegistrationFilter
/*
- Author:
- Marco Luebcke
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
void |
init(javax.servlet.FilterConfig config)
|
OperationExecutionRegistrationFilter
public OperationExecutionRegistrationFilter()
init
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- 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
- Throws:
IOException
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>