Package org.kohsuke.stapler
Class DiagnosticThreadNameFilter
java.lang.Object
org.kohsuke.stapler.DiagnosticThreadNameFilter
- All Implemented Interfaces:
javax.servlet.Filter
Filter
that sets the thread name to reflect the current request being processed.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DiagnosticThreadNameFilter
public DiagnosticThreadNameFilter()
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException - Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
doFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse rsp, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejavax.servlet.Filter
-