public class TextMapPropagator extends AbstractPropagator<io.opentracing.propagation.TextMap>
| Constructor and Description |
|---|
TextMapPropagator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>> |
extractBaggage(io.opentracing.propagation.TextMap carrier)
Gets all baggage (not only tracing related) from the carrier.
|
protected void |
injectBaggage(io.opentracing.propagation.TextMap carrier,
java.lang.String key,
java.lang.String value)
Injects one baggage item to the carrier.
|
extract, injectprotected void injectBaggage(io.opentracing.propagation.TextMap carrier,
java.lang.String key,
java.lang.String value)
AbstractPropagator.extractBaggage(Object) is called, but can wrap the key/value in what
ever they want.injectBaggage in class AbstractPropagator<io.opentracing.propagation.TextMap>carrier - carrierkey - keyvalue - valueprotected java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>> extractBaggage(io.opentracing.propagation.TextMap carrier)
extractBaggage in class AbstractPropagator<io.opentracing.propagation.TextMap>carrier - carrier