Class WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
java.lang.Object
io.helidon.websocket.WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
- All Implemented Interfaces:
Prototype.Api, WsProtocolConfig
- Direct Known Subclasses:
WsClientProtocolConfig.BuilderBase.WsClientProtocolConfigImpl, WsConfig.BuilderBase.WsConfigImpl
- Enclosing class:
WsProtocolConfig.BuilderBase<BUILDER extends WsProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends WsProtocolConfig>
protected static class WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
extends Object
implements WsProtocolConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface WsProtocolConfig
WsProtocolConfig.Builder, WsProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forWsProtocolConfig.static classWsProtocolConfig.BuilderBase<BUILDER extends WsProtocolConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends WsProtocolConfig>Fluent API builder base forWsProtocolConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWsProtocolConfigImpl(WsProtocolConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
WsProtocolConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
maxBufferedMessageSize
Description copied from interface:WsProtocolConfigMaximum size of a WebSocket message buffered for delivery to a listener. Binary message size is measured in bytes. Text message size is approximated using the number of UTF-16 code units in each decoded string fragment, as reported byString.length(), and may be smaller than the UTF-8 payload size. This setting does not limit messages delivered to listeners as fragments, readers, or input streams. The value must be between0 BandInteger.MAX_VALUEbytes, inclusive. A value of0 Bdisables buffering of non-empty messages while allowing empty messages. Default is 1 MiB.- Specified by:
maxBufferedMessageSizein interfaceWsProtocolConfig- Returns:
- maximum size of a buffered message
-
toString
-
equals
-
hashCode
-