DefaultContextPropagators is the default, built-in implementation of ContextPropagators.
All the registered propagators are stored internally as a simple list, and are invoked synchronically upon injection and extraction.
The propagation fields retrieved from all registered propagators are de-duplicated.
| Modifier and Type | Field and Description |
|---|---|
| private static final ContextPropagators | |
| private final TextMapPropagator |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public TextMapPropagator | getTextMapPropagator()
Implements io. Returns a |
| pack-priv static ContextPropagators | noop()
Hides io. Returns a |
| public String |
| NOOP | back to summary |
|---|---|
| private static final ContextPropagators NOOP | |
| textMapPropagator | back to summary |
|---|---|
| private final TextMapPropagator textMapPropagator | |
| DefaultContextPropagators | back to summary |
|---|---|
| pack-priv DefaultContextPropagators(TextMapPropagator textMapPropagator) | |
| getTextMapPropagator | back to summary |
|---|---|
| public TextMapPropagator getTextMapPropagator() Implements io. Doc from io. Returns a The returned value will be a composite instance containing all the registered
| |
| noop | back to summary |
|---|---|
| pack-priv static ContextPropagators noop() Hides io. Doc from io. Returns a | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |