Index
A B C D E F G H I J L N O P R S T U W
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- addFilter(ServletContextHandler, Filter) - Method in class brave.test.http.ITServlet25Container
- addsStatusCode_badRequest() - Method in class brave.test.http.ITHttpServer
- addsStatusCodeWhenNotOk() - Method in class brave.test.http.ITHttpClient
- addsStatusCodeWhenNotOk_async() - Method in class brave.test.http.ITHttpAsyncClient
- async() - Method in class brave.test.http.ITHttpServer
-
Tests that the span propagates between under asynchronous callbacks (even if explicitly)
B
- brave.test.http - package brave.test.http
C
- callbackContextIsFromInvocationTime() - Method in class brave.test.http.ITHttpAsyncClient
-
This ensures that response callbacks run in the invocation context, not the client one.
- callbackContextIsFromInvocationTime_root() - Method in class brave.test.http.ITHttpAsyncClient
-
This ensures that response callbacks run when there is no invocation trace context.
- canSetCustomRoute() - Method in class brave.test.http.ITServlet25Container
-
Shows that by adding the request attribute "http.route" a layered framework can influence any derived from the route, including the span name.
- canUseSpanAttribute() - Method in class brave.test.http.ITServlet25Container
-
Shows that a framework can directly use the "brave.Span" rather than relying on the current span.
- childCompletesBeforeServer() - Method in class brave.test.http.ITHttpServer
-
The child completes before the response code is established, so it should be contained completely by the server's interval.
- client - Variable in class brave.test.http.ITHttpClient
- clientTimestampAndDurationEnclosedByParent() - Method in class brave.test.http.ITHttpClient
-
This prevents confusion as a blocking client should end before, the start of the next span.
- close() - Method in class brave.test.http.ITHttpClient
-
Closes the client prior to calling
ITRemote.close()
- closeClient(C) - Method in class brave.test.http.ITHttpClient
- createsChildSpan() - Method in class brave.test.http.ITHttpServer
-
This ensures thread-state is propagated from trace interceptors to user code.
- createsChildWhenJoinDisabled() - Method in class brave.test.http.ITHttpServer
- currentSpanVisibleToOtherFilters() - Method in class brave.test.http.ITServlet25Container
- customSampler() - Method in class brave.test.http.ITHttpClient
- customSampler() - Method in class brave.test.http.ITHttpServer
D
- debug(String, Object...) - Method in class brave.test.http.Log4J2Log
- debug(String, Throwable) - Method in class brave.test.http.Log4J2Log
- debug(Throwable) - Method in class brave.test.http.Log4J2Log
- defaultSpanNameIsMethodName() - Method in class brave.test.http.ITHttpClient
- defaultSpanNameIsMethodNameOrRoute() - Method in class brave.test.http.ITHttpServer
E
- emptyPath() - Method in class brave.test.http.ITHttpClient
-
This tests empty path "" coerces to "/" per RFC 7230 Section 2.7.3
- errorTag_onException_asyncDispatch() - Method in class brave.test.http.ITServlet3Container
- errorTag_onException_asyncTimeout() - Method in class brave.test.http.ITServlet3Container
- extract(RecordedRequest) - Method in class brave.test.http.ITHttpClient
- extractor - Variable in class brave.test.http.ITHttpClient
F
- forward() - Method in class brave.test.http.ITServlet3Container
- forwardAsync() - Method in class brave.test.http.ITServlet3Container
G
- get(C, String) - Method in class brave.test.http.ITHttpClient
- get(C, String, BiConsumer<Integer, Throwable>) - Method in class brave.test.http.ITHttpAsyncClient
-
This invokes a GET with the indicated path, but does not block until the response is complete.
- get(String) - Method in class brave.test.http.ITHttpServer
- get(Request) - Method in class brave.test.http.ITHttpServer
- getLocalPort(Server) - Method in class brave.test.http.Jetty9ServerController
- getLocalPort(Server) - Method in interface brave.test.http.ServletContainer.ServerController
- getName() - Method in class brave.test.http.Log4J2Log
H
- httpPathTagExcludesQueryParams() - Method in class brave.test.http.ITHttpClient
- httpPathTagExcludesQueryParams() - Method in class brave.test.http.ITHttpServer
- httpRoute() - Method in class brave.test.http.ITHttpServer
-
The "/items/{itemId}" endpoint should return the itemId in the response body, which proves templating worked (including that it ignores query parameters).
- httpRoute_async() - Method in class brave.test.http.ITHttpServer
-
Sometimes state used to carry http route data is different for async requests.
- httpRoute_nested() - Method in class brave.test.http.ITHttpServer
-
The "/nested/items/{itemId}" endpoint should be implemented by two route expressions: A path prefix: "/nested" and then a relative expression "/items/{itemId}"
- httpStatusCodeSettable_onUncaughtException() - Method in class brave.test.http.ITHttpServer
-
This tests that the actual code is
503
, not500
on exception. - httpStatusCodeSettable_onUncaughtException_async() - Method in class brave.test.http.ITHttpServer
- httpStatusCodeTagMatchesResponse_onUncaughtException() - Method in class brave.test.http.ITHttpServer
-
Throw
NOT_READY_ISE
inside your controller after setting the status code {code 503}. - httpStatusCodeTagMatchesResponse_onUncaughtException_async() - Method in class brave.test.http.ITHttpServer
- httpTracing - Variable in class brave.test.http.ITHttpClient
- httpTracing - Variable in class brave.test.http.ITHttpServer
I
- ignore(Throwable) - Method in class brave.test.http.Log4J2Log
- info(String, Object...) - Method in class brave.test.http.Log4J2Log
- info(String, Throwable) - Method in class brave.test.http.Log4J2Log
- info(Throwable) - Method in class brave.test.http.Log4J2Log
- init() - Method in class brave.test.http.ITHttpServer
-
recreate the server if needed
- init() - Method in class brave.test.http.ITServletContainer
-
recreates the server so that it uses the supplied trace configuration
- init() - Method in class brave.test.http.ServletContainer
-
recreates the server so that it uses the supplied trace configuration
- init(ServletContextHandler) - Method in class brave.test.http.ITServlet25Container
- init(ServletContextHandler) - Method in class brave.test.http.ITServlet3Container
- init(ServletContextHandler) - Method in class brave.test.http.ITServletContainer
-
Implement by registering a servlet for the test resource and anything needed for tracing
- init(ServletContextHandler) - Method in class brave.test.http.ServletContainer
-
Implement by registering a servlet for the test resource and anything needed for tracing
- isDebugEnabled() - Method in class brave.test.http.Log4J2Log
- ITHttpAsyncClient<C> - Class in brave.test.http
- ITHttpAsyncClient() - Constructor for class brave.test.http.ITHttpAsyncClient
- ITHttpClient<C> - Class in brave.test.http
- ITHttpClient() - Constructor for class brave.test.http.ITHttpClient
- ITHttpServer - Class in brave.test.http
- ITHttpServer() - Constructor for class brave.test.http.ITHttpServer
- ITServlet25Container - Class in brave.test.http
- ITServlet25Container(ServletContainer.ServerController) - Constructor for class brave.test.http.ITServlet25Container
- ITServlet3Container - Class in brave.test.http
- ITServlet3Container() - Constructor for class brave.test.http.ITServlet3Container
- ITServletContainer - Class in brave.test.http
-
Starts a jetty server which runs a servlet container
- ITServletContainer(ServletContainer.ServerController) - Constructor for class brave.test.http.ITServletContainer
J
- Jetty9ServerController - Class in brave.test.http
- Jetty9ServerController() - Constructor for class brave.test.http.Jetty9ServerController
L
- Log4J2Log - Class in brave.test.http
- Log4J2Log() - Constructor for class brave.test.http.Log4J2Log
N
- newClient(int) - Method in class brave.test.http.ITHttpClient
-
Make sure the client you return has retries disabled.
- newLogger(String) - Method in class brave.test.http.Log4J2Log
- newServer(int) - Method in class brave.test.http.Jetty9ServerController
- newServer(int) - Method in interface brave.test.http.ServletContainer.ServerController
- newServletContainer() - Method in class brave.test.http.ITServletContainer
- newTracingFilter() - Method in class brave.test.http.ITServlet25Container
- NOT_READY_ISE - Static variable in class brave.test.http.ITHttpServer
- NOT_READY_UE - Static variable in class brave.test.http.ITServletContainer
- notFound() - Method in class brave.test.http.ITHttpServer
-
If http route is supported, then the span name should include it
O
- options() - Method in class brave.test.http.ITHttpClient
- options() - Method in class brave.test.http.ITHttpServer
-
This tests both that a root path ends up as "/" (slash) not "" (empty), as well that less typical OPTIONS methods can be traced.
- options(C, String) - Method in class brave.test.http.ITHttpClient
P
- post() - Method in class brave.test.http.ITHttpClient
- post(C, String, String) - Method in class brave.test.http.ITHttpClient
- propagatesBaggage() - Method in class brave.test.http.ITHttpClient
- propagatesBaggage_unsampled() - Method in class brave.test.http.ITHttpClient
- propagatesChildOfCurrentSpan() - Method in class brave.test.http.ITHttpClient
- propagatesNewTrace() - Method in class brave.test.http.ITHttpClient
- propagatesUnsampledContext() - Method in class brave.test.http.ITHttpClient
-
Unlike Brave 3, Brave 4 propagates trace ids even when unsampled
R
- readsBaggage_existingTrace() - Method in class brave.test.http.ITHttpServer
- readsBaggage_newTrace() - Method in class brave.test.http.ITHttpServer
- readsBaggage_unsampled() - Method in class brave.test.http.ITHttpServer
- readsRequestAtResponseTime() - Method in class brave.test.http.ITHttpClient
- readsRequestAtResponseTime() - Method in class brave.test.http.ITHttpServer
- redirect() - Method in class brave.test.http.ITHttpClient
- reportsClientAddress() - Method in class brave.test.http.ITHttpServer
- reportsClientAddress_XForwardedFor() - Method in class brave.test.http.ITHttpServer
- reportsClientKindToZipkin() - Method in class brave.test.http.ITHttpClient
- reportsServerAddress() - Method in class brave.test.http.ITHttpClient
- reportsServerKindToZipkin() - Method in class brave.test.http.ITHttpServer
- reusesPropagatedSpanId() - Method in class brave.test.http.ITHttpServer
S
- samplingDisabled() - Method in class brave.test.http.ITHttpServer
- server - Variable in class brave.test.http.ITHttpClient
- ServletContainer - Class in brave.test.http
-
Starts a jetty server which runs a servlet container
- ServletContainer(ServletContainer.ServerController) - Constructor for class brave.test.http.ServletContainer
- ServletContainer.ServerController - Interface in brave.test.http
-
Allows us to work with multiple Jetty versions.
- setDebugEnabled(boolean) - Method in class brave.test.http.Log4J2Log
- setsError_onTransportException() - Method in class brave.test.http.ITHttpClient
- setsErrorAndHttpStatusOnUncaughtException() - Method in class brave.test.http.ITHttpServer
- setsErrorAndHttpStatusOnUncaughtException_async() - Method in class brave.test.http.ITHttpServer
- setup() - Method in class brave.test.http.ITHttpClient
- setup() - Method in class brave.test.http.ITHttpServer
- shutdownExecutor() - Static method in class brave.test.http.ITServlet3Container
- spanHandlerSeesError() - Method in class brave.test.http.ITHttpClient
- spanHandlerSeesError() - Method in class brave.test.http.ITHttpServer
- spanHandlerSeesError_async() - Method in class brave.test.http.ITHttpServer
- stop() - Method in class brave.test.http.ITServletContainer
- stop() - Method in class brave.test.http.ServletContainer
- supportsDeprecatedPortableCustomization() - Method in class brave.test.http.ITHttpClient
-
Deprecated.
- supportsPortableCustomization() - Method in class brave.test.http.ITHttpClient
- supportsPortableCustomization() - Method in class brave.test.http.ITHttpServer
- supportsPortableCustomizationDeprecated() - Method in class brave.test.http.ITHttpServer
-
Deprecated.
T
- takeRequest() - Method in class brave.test.http.ITHttpClient
-
Ensures a timeout receiving a request happens before the method timeout
- toString() - Method in class brave.test.http.Log4J2Log
- traceContextVisibleToOtherFilters() - Method in class brave.test.http.ITServlet25Container
U
- url(String) - Method in class brave.test.http.ITHttpClient
- url(String) - Method in class brave.test.http.ITHttpServer
- url(String) - Method in class brave.test.http.ITServletContainer
- url(String) - Method in class brave.test.http.ServletContainer
- usesParentFromInvocationTime() - Method in class brave.test.http.ITHttpAsyncClient
-
This tests that the parent is determined at the time the request was made, not when the request was executed.
W
- warn(String, Object...) - Method in class brave.test.http.Log4J2Log
- warn(String, Throwable) - Method in class brave.test.http.Log4J2Log
- warn(Throwable) - Method in class brave.test.http.Log4J2Log
All Classes|All Packages