Class WebClientContextPropagation.Builder
- java.lang.Object
-
- io.helidon.webclient.context.propagation.WebClientContextPropagation.Builder
-
- All Implemented Interfaces:
Builder<WebClientContextPropagation>
,Supplier<WebClientContextPropagation>
- Enclosing class:
- WebClientContextPropagation
public static class WebClientContextPropagation.Builder extends Object implements Builder<WebClientContextPropagation>
Fluent API builder forWebClientContextPropagation
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebClientContextPropagation.Builder
addRecord(PropagationRecord record)
Add a propagation record to the list of records.WebClientContextPropagation
build()
Build the instance from this builder.WebClientContextPropagation.Builder
config(Config config)
Update builder from configuration.
-
-
-
Method Detail
-
build
public WebClientContextPropagation build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<WebClientContextPropagation>
- Returns:
- instance of the built type
-
config
public WebClientContextPropagation.Builder config(Config config)
Update builder from configuration. Reads therecords
node.- Parameters:
config
- configuration- Returns:
- updated builder
-
addRecord
public WebClientContextPropagation.Builder addRecord(PropagationRecord record)
Add a propagation record to the list of records.- Parameters:
record
- record to add- Returns:
- updated builder
-
-