Interface PropagationRecord
-
public interface PropagationRecordPropagation record mapping classifier to header, may be aStringtype, or and array of strings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPropagationRecord.BuilderFluent API builder forPropagationRecord.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(Context context, WebClientRequestHeaders headers)Apply this record on web client headers, reading the classifier from the provided context and registering headers.static PropagationRecord.Builderbuilder()Create a new fluent API builder to customize configuration.
-
-
-
Method Detail
-
builder
static PropagationRecord.Builder builder()
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
apply
void apply(Context context, WebClientRequestHeaders headers)
Apply this record on web client headers, reading the classifier from the provided context and registering headers.- Parameters:
context- context to read data fromheaders- headers to write headers to
-
-