- All Known Implementing Classes:
ThreadContext
public interface TraceContext
Required methods from ThreadContext for Tracer
-
Method Summary
Modifier and TypeMethodDescriptionReturns the header for the given key ornull
if not present<T> T
getTransient
(String key) Returns a transient header object ornull
if there is no header for the given keyvoid
Puts a header into the contextvoid
putTransient
(String key, Object value) Puts a transient header object into this context
-
Method Details
-
getTransient
Returns a transient header object ornull
if there is no header for the given key -
putTransient
Puts a transient header object into this context -
getHeader
Returns the header for the given key ornull
if not present -
putHeader
Puts a header into the context
-