java.lang.Object
swim.ws.WsEngineSettings
swim.io.ws.WsSettings
- All Implemented Interfaces:
swim.codec.Debug
public class WsSettings
extends swim.ws.WsEngineSettings
WebSocket configuration parameters.
-
Field Summary
FieldsFields inherited from class swim.ws.WsEngineSettings
autoClose, clientCompressionLevel, clientMaxWindowBits, clientNoContextTakeover, maxFrameSize, maxMessageSize, serverCompressionLevel, serverMaxWindowBits, serverNoContextTakeover -
Constructor Summary
ConstructorsConstructorDescriptionWsSettings(swim.io.http.HttpSettings httpSettings, int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose) -
Method Summary
Modifier and TypeMethodDescriptionautoClose(boolean autoClose) static WsSettingsbooleanclientCompressionLevel(int clientCompressionLevel) clientMaxWindowBits(int clientMaxWindowBits) clientNoContextTakeover(boolean clientNoContextTakeover) compressionLevel(int serverCompressionLevel, int clientCompressionLevel) protected WsSettingscopy(int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose) protected WsSettingscopy(swim.io.http.HttpSettings httpSettings, int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose) static WsSettingscreate(swim.io.http.HttpSettings httpSettings) static WsSettingscreate(swim.io.IpSettings ipSettings) <T> swim.codec.Output<T>debug(swim.codec.Output<T> output) static WsSettingsengineSettings(swim.ws.WsEngineSettings engineSettings) booleanstatic WsSettingsstatic swim.structure.Form<WsSettings>form()static WsSettingsfrom(swim.ws.WsEngineSettings engineSettings) inthashCode()final swim.io.http.HttpSettingshttpSettings(swim.io.http.HttpSettings httpSettings) final swim.io.IpSettingsipSettings(swim.io.IpSettings ipSettings) maxFrameSize(int maxFrameSize) maxMessageSize(int maxMessageSize) static WsSettingsserverCompressionLevel(int serverCompressionLevel) serverMaxWindowBits(int serverMaxWindowBits) serverNoContextTakeover(boolean serverNoContextTakeover) static WsSettingsstandard()final swim.io.TcpSettingstcpSettings(swim.io.TcpSettings tcpSettings) final swim.io.TlsSettingstlsSettings(swim.io.TlsSettings tlsSettings) swim.structure.ValuetoValue()Methods inherited from class swim.ws.WsEngineSettings
acceptExtensions, autoClose, clientCompressionLevel, clientMaxWindowBits, clientNoContextTakeover, engineForm, extensions, handshakeRequest, handshakeRequest, handshakeRequest, handshakeRequest, handshakeRequest, maxFrameSize, maxMessageSize, serverCompressionLevel, serverMaxWindowBits, serverNoContextTakeover, toString
-
Field Details
-
httpSettings
protected final swim.io.http.HttpSettings httpSettings
-
-
Constructor Details
-
WsSettings
public WsSettings(swim.io.http.HttpSettings httpSettings, int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose)
-
-
Method Details
-
httpSettings
public final swim.io.http.HttpSettings httpSettings() -
httpSettings
-
ipSettings
public final swim.io.IpSettings ipSettings() -
ipSettings
-
tlsSettings
public final swim.io.TlsSettings tlsSettings() -
tlsSettings
-
tcpSettings
public final swim.io.TcpSettings tcpSettings() -
tcpSettings
-
engineSettings
-
maxFrameSize
- Overrides:
maxFrameSizein classswim.ws.WsEngineSettings
-
maxMessageSize
- Overrides:
maxMessageSizein classswim.ws.WsEngineSettings
-
serverCompressionLevel
- Overrides:
serverCompressionLevelin classswim.ws.WsEngineSettings
-
clientCompressionLevel
- Overrides:
clientCompressionLevelin classswim.ws.WsEngineSettings
-
compressionLevel
- Overrides:
compressionLevelin classswim.ws.WsEngineSettings
-
serverNoContextTakeover
- Overrides:
serverNoContextTakeoverin classswim.ws.WsEngineSettings
-
clientNoContextTakeover
- Overrides:
clientNoContextTakeoverin classswim.ws.WsEngineSettings
-
serverMaxWindowBits
- Overrides:
serverMaxWindowBitsin classswim.ws.WsEngineSettings
-
clientMaxWindowBits
- Overrides:
clientMaxWindowBitsin classswim.ws.WsEngineSettings
-
autoClose
- Overrides:
autoClosein classswim.ws.WsEngineSettings
-
toValue
public swim.structure.Value toValue()- Overrides:
toValuein classswim.ws.WsEngineSettings
-
copy
protected WsSettings copy(swim.io.http.HttpSettings httpSettings, int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose) -
copy
protected WsSettings copy(int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose) - Overrides:
copyin classswim.ws.WsEngineSettings
-
canEqual
- Overrides:
canEqualin classswim.ws.WsEngineSettings
-
equals
- Overrides:
equalsin classswim.ws.WsEngineSettings
-
hashCode
public int hashCode()- Overrides:
hashCodein classswim.ws.WsEngineSettings
-
debug
public <T> swim.codec.Output<T> debug(swim.codec.Output<T> output) - Specified by:
debugin interfaceswim.codec.Debug- Overrides:
debugin classswim.ws.WsEngineSettings
-
standard
-
noCompression
-
defaultCompression
-
fastestCompression
-
bestCompression
-
create
-
create
-
from
-
form
-