Class WsConfig.BuilderBase.WsConfigImpl
java.lang.Object
io.helidon.websocket.WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
io.helidon.webserver.websocket.WsConfig.BuilderBase.WsConfigImpl
- All Implemented Interfaces:
Prototype.Api, NamedService, ProtocolConfig, WsConfig, WsProtocolConfig
- Enclosing class:
WsConfig.BuilderBase<BUILDER extends WsConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends WsConfig>
protected static class WsConfig.BuilderBase.WsConfigImpl
extends WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
implements WsConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface WsConfig
WsConfig.Builder, WsConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forWsConfig.static classWsConfig.BuilderBase<BUILDER extends WsConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends WsConfig>Fluent API builder base forWsConfig.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
ConstructorsModifierConstructorDescriptionprotectedWsConfigImpl(WsConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from class WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
maxBufferedMessageSizeModifier and TypeMethodDescriptionMaximum size of a WebSocket message buffered for delivery to a listener.Methods inherited from interface ProtocolConfig
enabled, transportBindingTypesModifier and TypeMethodDescriptiondefault booleanenabled()Whether this protocol configuration is enabled.Transport binding provider keys compatible with this protocol.
-
Constructor Details
-
WsConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
origins
Description copied from interface:WsConfigWebSocket origins. If this set is empty, requests with anOriginheader must match the requestHostheader authority. If this set is non-empty, it acts as an explicit allowlist. Requests without anOriginheader are allowed. -
name
-
maxFrameLength
public int maxFrameLength()Description copied from interface:WsConfigMax WebSocket frame size supported by the server on a read operation. Default is 1 MiB.- Specified by:
maxFrameLengthin interfaceWsConfig- Returns:
- max frame size to read
-
toString
- Overrides:
toStringin classWsProtocolConfig.BuilderBase.WsProtocolConfigImpl
-
equals
- Overrides:
equalsin classWsProtocolConfig.BuilderBase.WsProtocolConfigImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classWsProtocolConfig.BuilderBase.WsProtocolConfigImpl
-