Class WebClientContextConfig.Builder
java.lang.Object
io.helidon.webclient.context.WebClientContextConfig.BuilderBase<WebClientContextConfig.Builder, WebClientContextConfig>
io.helidon.webclient.context.WebClientContextConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<WebClientContextConfig.Builder, WebClientContextConfig>, Builder<WebClientContextConfig.Builder, WebClientContextService>, ConfigBuilderSupport.ConfiguredBuilder<WebClientContextConfig.Builder, WebClientContextConfig>, Supplier<WebClientContextService>
- Enclosing interface:
WebClientContextConfig
public static class WebClientContextConfig.Builder
extends WebClientContextConfig.BuilderBase<WebClientContextConfig.Builder, WebClientContextConfig>
implements Builder<WebClientContextConfig.Builder, WebClientContextService>
Fluent API builder for
WebClientContextService.-
Nested Class Summary
Nested classes/interfaces inherited from class WebClientContextConfig.BuilderBase
WebClientContextConfig.BuilderBase.WebClientContextConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class WebClientContextConfig.BuilderBase
addRecord, addRecord, addRecords, clearRecords, config, config, from, from, name, name, preBuildPrototype, records, records, toString, validatePrototypeModifier and TypeMethodDescriptionaddRecord(ContextRecordConfig record) List of propagation records.addRecord(Consumer<ContextRecordConfig.Builder> consumer) List of propagation records.addRecords(List<? extends ContextRecordConfig> records) List of propagation records.Clear all records.config()Configuration used to configure this instance.Update builder from configuration (node of this type).from(WebClientContextConfig prototype) Update this builder from an existing prototype instance.from(WebClientContextConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.name()Name of this instance.Name of this instance.protected voidHandles providers and decorators.records()List of propagation records.records(List<? extends ContextRecordConfig> records) List of propagation records.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault WebClientContextServiceget()default WebClientContextConfig.Builderidentity()Instance of this builder as the correct type.default WebClientContextConfig.Builderupdate(Consumer<WebClientContextConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault WebClientContextConfig.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<WebClientContextConfig.Builder, WebClientContextConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<WebClientContextConfig.Builder, WebClientContextService>- Returns:
- instance of the built type
-