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.http.ITServlet25Container
NOT_READY_UE
-
Fields inherited from class brave.test.http.ITHttpServer
client, httpTracing, NOT_READY_ISE
-
Fields inherited from class brave.test.ITRemote
BAGGAGE_FIELD, BAGGAGE_FIELD_KEY, currentTraceContext, propagationFactory, testName, testSpanHandler, tracing
-
-
Constructor Summary
Constructors Constructor Description ITServlet3Container()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
errorTag_onException_asyncDispatch()
protected void
errorTag_onException_asyncTimeout()
protected void
forward()
protected 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, 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, spanHandlerSeesError_async, supportsPortableCustomization
-
Methods inherited from class brave.test.ITRemote
assertChildOf, assertChildOf, assertChildOf, assertNoError, assertNoErrorTag, assertSameIds, assertSequential, assertSpanInInterval, checkForLeakedScopes, close, currentTraceContextBuilder, newTraceContext, tracingBuilder
-
-
-
-
Method Detail
-
shutdownExecutor
@AfterAll public static void shutdownExecutor()
-
errorTag_onException_asyncTimeout
@Test protected void errorTag_onException_asyncTimeout() throws Exception
- Throws:
Exception
-
errorTag_onException_asyncDispatch
@Test protected void errorTag_onException_asyncDispatch() throws Exception
- 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
-
-