Package | Description |
---|---|
org.snf4j.websocket |
Provides main interfaces and classes implementing the functionalities of the
Web Socket protocol.
|
org.snf4j.websocket.extensions |
Provides interfaces and classes for implementation of Web Socket extensions.
|
org.snf4j.websocket.extensions.compress |
Provides interfaces and classes implementing the Web Socket compress extensions.
|
org.snf4j.websocket.handshake |
Provides interfaces and classes for the Web Socket handshake frames and related codecs.
|
Modifier and Type | Method and Description |
---|---|
IExtension[] |
IWebSocketSessionConfig.getSupportedExtensions()
Determines the supported extensions for both the server and client
Web Socket sessions.
|
IExtension[] |
DefaultWebSocketSessionConfig.getSupportedExtensions()
Determines the supported extensions for both the server and client
Web Socket sessions.
|
Modifier and Type | Method and Description |
---|---|
DefaultWebSocketSessionConfig |
DefaultWebSocketSessionConfig.setSupportedExtensions(IExtension... extensions)
Sets the supported extensions for both the server and client
Web Socket sessions.
|
Modifier and Type | Method and Description |
---|---|
IExtension |
IExtension.acceptOffer(List<String> offer)
Called by the Web Socket server to accept the received extension negotiation
offer.
|
IExtension |
IExtension.validateResponse(List<String> response)
Called by the Web Socket client to validate the received extension negotiation
response.
|
Modifier and Type | Class and Description |
---|---|
class |
PerMessageDeflateExtension
The WebSocket Per-Message Compression Extension as described in RFC 7692
|
Modifier and Type | Method and Description |
---|---|
IExtension |
PerMessageDeflateExtension.acceptOffer(List<String> offer) |
IExtension |
PerMessageDeflateExtension.validateResponse(List<String> response) |
Modifier and Type | Method and Description |
---|---|
IExtension |
IHandshaker.getExtension(String name)
Returns the negotiated extension identified by the specified name.
|
IExtension |
Handshaker.getExtension(String name) |
IExtension[] |
IHandshaker.getExtensions()
Returns all extensions that have been negotiated
|
IExtension[] |
Handshaker.getExtensions() |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.