Class WebClientDiscoveryConfig.Builder
java.lang.Object
io.helidon.webclient.discovery.WebClientDiscoveryConfig.BuilderBase<WebClientDiscoveryConfig.Builder, WebClientDiscoveryConfig>
io.helidon.webclient.discovery.WebClientDiscoveryConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<WebClientDiscoveryConfig.Builder, WebClientDiscoveryConfig>, Builder<WebClientDiscoveryConfig.Builder, WebClientDiscovery>, ConfigBuilderSupport.ConfiguredBuilder<WebClientDiscoveryConfig.Builder, WebClientDiscoveryConfig>, Supplier<WebClientDiscovery>
- Enclosing interface:
WebClientDiscoveryConfig
public static class WebClientDiscoveryConfig.Builder
extends WebClientDiscoveryConfig.BuilderBase<WebClientDiscoveryConfig.Builder, WebClientDiscoveryConfig>
implements Builder<WebClientDiscoveryConfig.Builder, WebClientDiscovery>
Fluent API builder for
WebClientDiscovery.-
Nested Class Summary
Nested classes/interfaces inherited from class WebClientDiscoveryConfig.BuilderBase
WebClientDiscoveryConfig.BuilderBase.WebClientDiscoveryConfigImplModifier 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 WebClientDiscoveryConfig.BuilderBase
addPrefixUris, config, config, discovery, discovery, discoveryDiscoverServices, discoveryDiscoverServices, from, from, name, name, preBuildPrototype, prefixUris, prefixUris, serviceRegistry, serviceRegistry, toString, validatePrototypeModifier and TypeMethodDescriptionaddPrefixUris(Map<String, ? extends URI> prefixUris) config()Configuration used to configure this instance.Update builder from configuration (node of this type).ADiscovery(normally sourced from the service registry).ADiscovery(normally sourced from the service registry).booleanService discovery flag forWebClientDiscoveryConfig.BuilderBase.discovery().discoveryDiscoverServices(boolean discoveryDiscoverServices) Service discovery flag forWebClientDiscoveryConfig.BuilderBase.discovery().from(WebClientDiscoveryConfig prototype) Update this builder from an existing prototype instance.from(WebClientDiscoveryConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.name()The name to assign to the runtime type (discoveryby default).The name to assign to the runtime type (discoveryby default).protected voidHandles providers and decorators.prefixUris(Map<String, ? extends URI> prefixUris) Service registry used to discover providers and services.serviceRegistry(ServiceRegistry serviceRegistry) Service registry used to discover providers and services.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 WebClientDiscoveryget()default WebClientDiscoveryConfig.Builderidentity()Instance of this builder as the correct type.default WebClientDiscoveryConfig.Builderupdate(Consumer<WebClientDiscoveryConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault WebClientDiscoveryConfig.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<WebClientDiscoveryConfig.Builder, WebClientDiscoveryConfig>- 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<WebClientDiscoveryConfig.Builder, WebClientDiscovery>- Returns:
- instance of the built type
-