Interface PropagationRecord
-
public interface PropagationRecord
Propagation record mapping classifier to header, may be aString
type, or and array of strings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PropagationRecord.Builder
Fluent API builder forPropagationRecord
.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(Context context, WebClientRequestHeaders headers)
Apply this record on web client headers, reading the classifier from the provided context and registering headers.static PropagationRecord.Builder
builder()
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
-
-