| Modifier and Type | Class and Description |
|---|---|
| public static interface | Propagator.Getter<
carrier of propagation fields, such as an http request. C>Interface that allows to read propagated fields from a carrier. |
| public static interface | Propagator.Setter<
carrier of propagation fields, such as an http request C>Class that allows to set propagated fields into a carrier. |
Getter is stateless and allows to be saved as a constant to avoid runtime
allocations.
| Modifier and Type | Method and Description |
|---|---|
| public String |
| get | back to summary |
|---|---|
| public String get(C carrier, String key) Returns the first value of the given propagation | |
Setter is stateless and allows to be saved as a constant to avoid runtime
allocations.
| Modifier and Type | Method and Description |
|---|---|
| public void |
| set | back to summary |
|---|---|
| public void set(C carrier, String key, String value) Replaces a propagated field with the given value.
For example, a setter for an | |