Class ITServlet25Container

    • Field Detail

      • NOT_READY_UE

        public static final javax.servlet.UnavailableException NOT_READY_UE
    • Method Detail

      • currentSpanVisibleToOtherFilters

        @Test
        protected void currentSpanVisibleToOtherFilters()
                                                 throws Exception
        Throws:
        Exception
      • traceContextVisibleToOtherFilters

        @Test
        protected void traceContextVisibleToOtherFilters()
                                                  throws Exception
        Throws:
        Exception
      • canSetCustomRoute

        @Test
        protected void canSetCustomRoute()
                                  throws Exception
        Shows that by adding the request attribute "http.route" a layered framework can influence any derived from the route, including the span name.
        Throws:
        Exception
      • canUseSpanAttribute

        @Test
        protected void canUseSpanAttribute()
                                    throws Exception
        Shows that a framework can directly use the "brave.Span" rather than relying on the current span.
        Throws:
        Exception
      • init

        public void init​(org.eclipse.jetty.servlet.ServletContextHandler handler)
        Description copied from class: ITServletContainer
        Implement by registering a servlet for the test resource and anything needed for tracing
        Specified by:
        init in class ITServletContainer
      • newTracingFilter

        protected abstract javax.servlet.Filter newTracingFilter()
      • addFilter

        protected abstract void addFilter​(org.eclipse.jetty.servlet.ServletContextHandler handler,
                                          javax.servlet.Filter filter)