public interface WebsocketClientSpec extends WebsocketSpec
Modifier and Type | Interface and Description |
---|---|
static class |
WebsocketClientSpec.Builder |
Modifier and Type | Method and Description |
---|---|
static WebsocketClientSpec.Builder |
builder()
Create builder with default properties.
version = WebSocketVersion.V13
protocols = null maxFramePayloadLength = 65536 handlePing = false compress = false compressionAllowClientNoContext = false compressionRequestedServerNoContext = false |
boolean |
compressionAllowClientNoContext()
Returns whether the server is allowed to activate
client_no_context_takeover . |
boolean |
compressionRequestedServerNoContext()
Returns whether the client needs to activate
server_no_context_takeover . |
WebSocketVersion |
version()
Returns the configured WebSocket version.
|
compress, handlePing, maxFramePayloadLength, protocols
boolean compressionAllowClientNoContext()
client_no_context_takeover
.client_no_context_takeover
boolean compressionRequestedServerNoContext()
server_no_context_takeover
.server_no_context_takeover
WebSocketVersion version()
static WebsocketClientSpec.Builder builder()
WebSocketVersion.V13
WebsocketClientSpec.Builder