- 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.Methods inherited from interface io.helidon.tracing.HeaderProvider
contains, get, getAll, keys
-
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 the value(s) if not already set.- Parameters:
key- header namevalues- header value(s)
-
set
Set the value(s).- Parameters:
key- header namevalues- header value(s)
-