Class SniConfig.Builder
java.lang.Object
io.helidon.webclient.api.SniConfig.BuilderBase<SniConfig.Builder, SniConfig>
io.helidon.webclient.api.SniConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<SniConfig.Builder, SniConfig>, Builder<SniConfig.Builder, SniConfig>, ConfigBuilderSupport.ConfiguredBuilder<SniConfig.Builder, SniConfig>, Supplier<SniConfig>
- Enclosing interface:
SniConfig
public static class SniConfig.Builder
extends SniConfig.BuilderBase<SniConfig.Builder, SniConfig>
implements Builder<SniConfig.Builder, SniConfig>
Fluent API builder for
SniConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class SniConfig.BuilderBase
SniConfig.BuilderBase.SniConfigImplModifier 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 SniConfig.BuilderBase
clearHost, config, config, from, from, host, host, mode, mode, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionClear existing value of host.config()Configuration used to configure this instance.Update builder from configuration (node of this type).Update this builder from an existing prototype instance.from(SniConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.host()Explicit TLS peer host used whenmodeisexplicit.Explicit TLS peer host used whenmodeisexplicit.mode()TLS peer host source mode for SNI and endpoint identification:uri-host,host-header,explicit, ordisabled.TLS peer host source mode for SNI and endpoint identification:uri-host,host-header,explicit, ordisabled.protected voidHandles providers and decorators.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 SniConfigget()default SniConfig.Builderidentity()Instance of this builder as the correct type.default SniConfig.Builderupdate(Consumer<SniConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault SniConfig.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<SniConfig.Builder, SniConfig>- 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<SniConfig.Builder, SniConfig>- Returns:
- instance of the built type
-