Class IgnoreNewRelicFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class IgnoreNewRelicFilter
    extends Object
    implements javax.servlet.Filter
    Allows you to ignore newrelic metrics collection http://newrelic.com/docs/java/blocking-instrumentation-in-java
    • Constructor Detail

      • IgnoreNewRelicFilter

        public IgnoreNewRelicFilter()
    • Method Detail

      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Filter
      • doFilter

        public void doFilter​(javax.servlet.ServletRequest req,
                             javax.servlet.ServletResponse resp,
                             javax.servlet.FilterChain chain)
                      throws javax.servlet.ServletException,
                             IOException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Throws:
        javax.servlet.ServletException
        IOException
      • init

        public void init​(javax.servlet.FilterConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Filter
        Throws:
        javax.servlet.ServletException