Class DiagnosticThreadNameFilter

java.lang.Object
org.kohsuke.stapler.DiagnosticThreadNameFilter
All Implemented Interfaces:
jakarta.servlet.Filter, CompatibleFilter

public class DiagnosticThreadNameFilter extends Object implements CompatibleFilter
Filter that sets the thread name to reflect the current request being processed.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • DiagnosticThreadNameFilter

      public DiagnosticThreadNameFilter()
  • Method Details

    • init

      public void init(jakarta.servlet.FilterConfig filterConfig) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Filter
      Throws:
      jakarta.servlet.ServletException
    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse rsp, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Specified by:
      doFilter in interface jakarta.servlet.Filter
      Throws:
      IOException
      jakarta.servlet.ServletException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface jakarta.servlet.Filter