java.lang.Object
swim.ws.WsEngineSettings
swim.io.ws.WsSettings
- All Implemented Interfaces:
Debug
WebSocket configuration parameters.
-
Field Summary
FieldsFields inherited from class swim.ws.WsEngineSettings
autoClose, clientCompressionLevel, clientMaxWindowBits, clientNoContextTakeover, maxFrameSize, maxMessageSize, serverCompressionLevel, serverMaxWindowBits, serverNoContextTakeover
-
Constructor Summary
ConstructorsConstructorDescriptionWsSettings
(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 WsSettings
boolean
clientCompressionLevel
(int clientCompressionLevel) clientMaxWindowBits
(int clientMaxWindowBits) clientNoContextTakeover
(boolean clientNoContextTakeover) compressionLevel
(int serverCompressionLevel, int clientCompressionLevel) protected WsSettings
copy
(int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose) protected WsSettings
copy
(HttpSettings httpSettings, int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose) static WsSettings
create
(HttpSettings httpSettings) static WsSettings
create
(IpSettings ipSettings) <T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.static WsSettings
engineSettings
(WsEngineSettings engineSettings) boolean
static WsSettings
static Form<WsSettings>
form()
static WsSettings
from
(WsEngineSettings engineSettings) int
hashCode()
final HttpSettings
httpSettings
(HttpSettings httpSettings) final IpSettings
ipSettings
(IpSettings ipSettings) maxFrameSize
(int maxFrameSize) maxMessageSize
(int maxMessageSize) static WsSettings
serverCompressionLevel
(int serverCompressionLevel) serverMaxWindowBits
(int serverMaxWindowBits) serverNoContextTakeover
(boolean serverNoContextTakeover) static WsSettings
standard()
final TcpSettings
tcpSettings
(TcpSettings tcpSettings) final TlsSettings
tlsSettings
(TlsSettings tlsSettings) toValue()
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
-
-
Constructor Details
-
WsSettings
public WsSettings(HttpSettings httpSettings, int maxFrameSize, int maxMessageSize, int serverCompressionLevel, int clientCompressionLevel, boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits, boolean autoClose)
-
-
Method Details
-
httpSettings
-
httpSettings
-
ipSettings
-
ipSettings
-
tlsSettings
-
tlsSettings
-
tcpSettings
-
tcpSettings
-
engineSettings
-
maxFrameSize
- Overrides:
maxFrameSize
in classWsEngineSettings
-
maxMessageSize
- Overrides:
maxMessageSize
in classWsEngineSettings
-
serverCompressionLevel
- Overrides:
serverCompressionLevel
in classWsEngineSettings
-
clientCompressionLevel
- Overrides:
clientCompressionLevel
in classWsEngineSettings
-
compressionLevel
- Overrides:
compressionLevel
in classWsEngineSettings
-
serverNoContextTakeover
- Overrides:
serverNoContextTakeover
in classWsEngineSettings
-
clientNoContextTakeover
- Overrides:
clientNoContextTakeover
in classWsEngineSettings
-
serverMaxWindowBits
- Overrides:
serverMaxWindowBits
in classWsEngineSettings
-
clientMaxWindowBits
- Overrides:
clientMaxWindowBits
in classWsEngineSettings
-
autoClose
- Overrides:
autoClose
in classWsEngineSettings
-
toValue
- Overrides:
toValue
in classWsEngineSettings
-
copy
protected WsSettings copy(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:
copy
in classWsEngineSettings
-
canEqual
- Overrides:
canEqual
in classWsEngineSettings
-
equals
- Overrides:
equals
in classWsEngineSettings
-
hashCode
public int hashCode()- Overrides:
hashCode
in classWsEngineSettings
-
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.- Specified by:
debug
in interfaceDebug
- Overrides:
debug
in classWsEngineSettings
- Returns:
- the continuation of the
output
.
-
standard
-
noCompression
-
defaultCompression
-
fastestCompression
-
bestCompression
-
create
-
create
-
from
-
form
-