Class ClientAltSvcConfig.Builder
java.lang.Object
io.helidon.webclient.api.ClientAltSvcConfig.BuilderBase<ClientAltSvcConfig.Builder, ClientAltSvcConfig>
io.helidon.webclient.api.ClientAltSvcConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<ClientAltSvcConfig.Builder, ClientAltSvcConfig>, Builder<ClientAltSvcConfig.Builder, ClientAltSvcConfig>, ConfigBuilderSupport.ConfiguredBuilder<ClientAltSvcConfig.Builder, ClientAltSvcConfig>, Supplier<ClientAltSvcConfig>
- Enclosing interface:
ClientAltSvcConfig
public static class ClientAltSvcConfig.Builder
extends ClientAltSvcConfig.BuilderBase<ClientAltSvcConfig.Builder, ClientAltSvcConfig>
implements Builder<ClientAltSvcConfig.Builder, ClientAltSvcConfig>
Fluent API builder for
ClientAltSvcConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class ClientAltSvcConfig.BuilderBase
ClientAltSvcConfig.BuilderBase.ClientAltSvcConfigImplModifier 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 ClientAltSvcConfig.BuilderBase
addProtocol, addProtocols, clearProtocols, config, config, enabled, enabled, from, from, preBuildPrototype, protocols, protocols, toString, validatePrototypeModifier and TypeMethodDescriptionaddProtocol(String protocol) Allowed alternative service protocol identifiers.addProtocols(Set<String> protocols) Allowed alternative service protocol identifiers.Clear all protocols.config()Configuration used to configure this instance.Update builder from configuration (node of this type).booleanenabled()Whether alternative service handling is enabled.enabled(boolean enabled) Whether alternative service handling is enabled.from(ClientAltSvcConfig prototype) Update this builder from an existing prototype instance.from(ClientAltSvcConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.Allowed alternative service protocol identifiers.Allowed alternative service protocol identifiers.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 ClientAltSvcConfigget()default ClientAltSvcConfig.Builderidentity()Instance of this builder as the correct type.default ClientAltSvcConfig.Builderupdate(Consumer<ClientAltSvcConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault ClientAltSvcConfig.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<ClientAltSvcConfig.Builder, ClientAltSvcConfig>- 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<ClientAltSvcConfig.Builder, ClientAltSvcConfig>- Returns:
- instance of the built type
-