CompositePropagator<C, V> class

A propagator that combines multiple other propagators

Implemented types

Constructors

CompositePropagator.new(List<TextMapPropagator<C, V>> propagators)
Creates a new CompositePropagator with the given list of propagators. The propagators are applied in order for injection and in reverse order for extraction.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

extract(Context context, C carrier, TextMapGetter<V> getter) Context
Extracts the value from a carrier
override
fields() List<String>
Fields returns the keys whose values are set in carriers
override
inject(Context context, C carrier, TextMapSetter<V> setter) → void
Injects the value into a carrier
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited