Interface HeaderConsumer
- All Superinterfaces:
HeaderProvider
API used to configure headers when propagating tracing information across service boundaries.
-
Method Summary
Modifier and TypeMethodDescriptionstatic HeaderConsumerCreate a header consumer over a map of headers (must be mutable).voidSet the value(s).voidsetIfAbsent(String key, String... values) Set the value(s) if not already set.
-
Method Details
-
create
Create a header consumer over a map of headers (must be mutable).- Parameters:
headers- headers to update- Returns:
- a new consumer
-
setIfAbsent
-
set
-