Package io.helidon.webclient.websocket
Class WsClientProtocolConfig.BuilderBase.WsClientProtocolConfigImpl
java.lang.Object
io.helidon.websocket.WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
io.helidon.webclient.websocket.WsClientProtocolConfig.BuilderBase.WsClientProtocolConfigImpl
- All Implemented Interfaces:
Prototype.Api,NamedService,NamedService,ProtocolConfig,WsClientProtocolConfig,WsProtocolConfig
- Enclosing class:
WsClientProtocolConfig.BuilderBase<BUILDER extends WsClientProtocolConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WsClientProtocolConfig>
protected static class WsClientProtocolConfig.BuilderBase.WsClientProtocolConfigImpl
extends WsProtocolConfig.BuilderBase.WsProtocolConfigImpl
implements WsClientProtocolConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webclient.websocket.WsClientProtocolConfig
WsClientProtocolConfig.Builder, WsClientProtocolConfig.BuilderBase<BUILDER extends WsClientProtocolConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends WsClientProtocolConfig> 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
ConstructorsModifierConstructorDescriptionprotectedWsClientProtocolConfigImpl(WsClientProtocolConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Maximum WebSocket frame payload size accepted by the client, from1 BthroughInteger.MAX_VALUEbytes; the default is 1 MiB, replacing the earlier effectively unbounded behavior, and exceeding the configured limit causes the client to close the connection with status code1009(Message Too Big).name()Name of this protocol configuration.WebSocket sub-protocols requested by the client.toString()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.webclient.websocket.WsClientProtocolConfig
typeMethods inherited from interface io.helidon.websocket.WsProtocolConfig
maxBufferedMessageSize
-
Constructor Details
-
WsClientProtocolConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
name
Description copied from interface:WsClientProtocolConfigName of this protocol configuration.- Specified by:
namein interfaceNamedService- Specified by:
namein interfaceNamedService- Specified by:
namein interfaceWsClientProtocolConfig- Returns:
- protocol configuration name
-
subProtocols
Description copied from interface:WsClientProtocolConfigWebSocket sub-protocols requested by the client.- Specified by:
subProtocolsin interfaceWsClientProtocolConfig- Returns:
- requested WebSocket sub-protocols
-
maxFrameSize
Description copied from interface:WsClientProtocolConfigMaximum WebSocket frame payload size accepted by the client, from1 BthroughInteger.MAX_VALUEbytes; the default is 1 MiB, replacing the earlier effectively unbounded behavior, and exceeding the configured limit causes the client to close the connection with status code1009(Message Too Big).- Specified by:
maxFrameSizein interfaceWsClientProtocolConfig- Returns:
- maximum frame payload size
-
toString
- Overrides:
toStringin classWsProtocolConfig.BuilderBase.WsProtocolConfigImpl
-
equals
- Overrides:
equalsin classWsProtocolConfig.BuilderBase.WsProtocolConfigImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classWsProtocolConfig.BuilderBase.WsProtocolConfigImpl
-