Class WsProtocolConfig.Builder
java.lang.Object
io.helidon.websocket.WsProtocolConfig.BuilderBase<WsProtocolConfig.Builder, WsProtocolConfig>
io.helidon.websocket.WsProtocolConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<WsProtocolConfig.Builder, WsProtocolConfig>, Builder<WsProtocolConfig.Builder, WsProtocolConfig>, ConfigBuilderSupport.ConfiguredBuilder<WsProtocolConfig.Builder, WsProtocolConfig>, Supplier<WsProtocolConfig>
- Enclosing interface:
WsProtocolConfig
public static class WsProtocolConfig.Builder
extends WsProtocolConfig.BuilderBase<WsProtocolConfig.Builder, WsProtocolConfig>
implements Builder<WsProtocolConfig.Builder, WsProtocolConfig>
Fluent API builder for
WsProtocolConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class WsProtocolConfig.BuilderBase
WsProtocolConfig.BuilderBase.WsProtocolConfigImplModifier 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 WsProtocolConfig.BuilderBase
config, config, from, from, maxBufferedMessageSize, maxBufferedMessageSize, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionconfig()Configuration used to configure this instance.Update builder from configuration (node of this type).from(WsProtocolConfig prototype) Update this builder from an existing prototype instance.from(WsProtocolConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Maximum size of a WebSocket message buffered for delivery to a listener.maxBufferedMessageSize(Size maxBufferedMessageSize) Maximum size of a WebSocket message buffered for delivery to a listener.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 WsProtocolConfigget()default WsProtocolConfig.Builderidentity()Instance of this builder as the correct type.default WsProtocolConfig.Builderupdate(Consumer<WsProtocolConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault WsProtocolConfig.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<WsProtocolConfig.Builder, WsProtocolConfig>- 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<WsProtocolConfig.Builder, WsProtocolConfig>- Returns:
- instance of the built type
-