-
- Enclosing class:
- TraceContext
public static interface TraceContext.Extractor<C>Used to continue an incoming trace. For example, by reading http headers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TraceContextOrSamplingFlagsextract(C carrier)Returns either a trace context or sampling flags parsed from the carrier.
-
-
-
Method Detail
-
extract
TraceContextOrSamplingFlags extract(C carrier)
Returns either a trace context or sampling flags parsed from the carrier. If nothing was parsable, sampling flags will be set toSamplingFlags.EMPTY.- Parameters:
carrier- holds propagation fields. For example, an incoming message or http request.
-
-