Package io.helidon.webserver.websocket
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,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 io.helidon.webserver.websocket.WsConfig
WsConfig.Builder, WsConfig.BuilderBase<BUILDER extends WsConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WsConfig> Nested classes/interfaces inherited from interface io.helidon.websocket.WsProtocolConfig
WsProtocolConfig.Builder, WsProtocolConfig.BuilderBase<BUILDER extends WsProtocolConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WsProtocolConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWsConfigImpl(WsConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from class io.helidon.websocket.WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
maxBufferedMessageSizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.websocket.WsProtocolConfig
maxBufferedMessageSize
-
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
Description copied from interface:WsConfigName of this configuration.- Specified by:
namein interfaceNamedService- Specified by:
namein interfaceNamedService- Specified by:
namein interfaceWsConfig- Returns:
- configuration 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
-