Package brave.test.http
Class ITServlet3Container
java.lang.Object
brave.test.ITRemote
brave.test.http.ITHttpServer
brave.test.http.ITServletContainer
brave.test.http.ITServlet25Container
brave.test.http.ITServlet3Container
public abstract class ITServlet3Container extends ITServlet25Container
-
Field Summary
Fields inherited from class brave.test.ITRemote
BAGGAGE_FIELD, BAGGAGE_FIELD_KEY, currentTraceContext, globalTimeout, propagationFactory, spanHandler, testName, tracing
-
Constructor Summary
Constructors Constructor Description ITServlet3Container()
-
Method Summary
Modifier and Type Method Description void
errorTag_onException_asyncDispatch()
void
errorTag_onException_asyncTimeout()
void
forward()
void
forwardAsync()
void
init(org.eclipse.jetty.servlet.ServletContextHandler handler)
Implement by registering a servlet for the test resource and anything needed for tracingstatic void
shutdownExecutor()
Methods inherited from class brave.test.http.ITServlet25Container
addFilter, canSetCustomRoute, canUseSpanAttribute, currentSpanVisibleToOtherFilters, newTracingFilter, traceContextVisibleToOtherFilters
Methods inherited from class brave.test.http.ITServletContainer
init, newServletContainer, stop, url
Methods inherited from class brave.test.http.ITHttpServer
addsStatusCode_badRequest, async, childCompletesBeforeServer, createsChildSpan, createsChildWhenJoinDisabled, customSampler, defaultSpanNameIsMethodNameOrRoute, get, get, httpPathTagExcludesQueryParams, httpRoute, httpRoute_async, httpRoute_nested, httpStatusCodeSettable_onUncaughtException, httpStatusCodeSettable_onUncaughtException_async, httpStatusCodeTagMatchesResponse_onUncaughtException, httpStatusCodeTagMatchesResponse_onUncaughtException_async, notFound, options, readsBaggage_existingTrace, readsBaggage_newTrace, readsBaggage_unsampled, readsRequestAtResponseTime, reportsClientAddress, reportsClientAddress_XForwardedFor, reportsServerKindToZipkin, reusesPropagatedSpanId, samplingDisabled, setsErrorAndHttpStatusOnUncaughtException, setsErrorAndHttpStatusOnUncaughtException_async, setup, spanHandlerSeesError, spanHandlerSeesException_async, supportsPortableCustomization, supportsPortableCustomizationDeprecated
Methods inherited from class brave.test.ITRemote
assertChildOf, assertChildOf, assertChildOf, assertNoError, assertNoErrorTag, assertSameIds, assertSequential, assertSpanInInterval, checkForLeakedScopes, close, currentTraceContextBuilder, newTraceContext, tracingBuilder
-
Constructor Details
-
ITServlet3Container
public ITServlet3Container()
-
-
Method Details
-
shutdownExecutor
public static void shutdownExecutor() -
forward
- Throws:
Exception
-
forwardAsync
- Throws:
Exception
-
errorTag_onException_asyncTimeout
- Throws:
Exception
-
errorTag_onException_asyncDispatch
- 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- Overrides:
init
in classITServlet25Container
-