Package | Description |
---|---|
org.snf4j.example.websocket |
A WebSocket (data transfer and web chat) client/server example.
|
org.snf4j.websocket |
Provides main interfaces and classes implementing the functionalities of the
Web Socket protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionConfig |
Modifier and Type | Method and Description |
---|---|
DefaultWebSocketSessionConfig |
DefaultWebSocketSessionConfig.setHandleCloseFrame(boolean handleCloseFrame)
Configures if the received Web Socket close frames should be handled
automatically.
|
DefaultWebSocketSessionConfig |
DefaultWebSocketSessionConfig.setIgnoreHostHeaderField(boolean ignoreHostHeaderField)
Configures if the server session associated with this configuration object
should ignore missing the Host header field in the received Web Socket
handshake request.
|
DefaultWebSocketSessionConfig |
DefaultWebSocketSessionConfig.setMaxFramePayloadLength(int maxFramePayloadLength)
Sets the maximum length of the payload in the decoded Web Socket frames.
|
DefaultWebSocketSessionConfig |
DefaultWebSocketSessionConfig.setMaxHandshakeFrameLength(int maxHandshakeFrameLength)
Sets the maximum length of the decoded Web Socket handshake frames.
|
DefaultWebSocketSessionConfig |
DefaultWebSocketSessionConfig.setRequestOrigin(String requestOrigin)
Sets the value of the Origin header field in the client Web Socket handshake
request.
|
DefaultWebSocketSessionConfig |
DefaultWebSocketSessionConfig.setSupportedExtensions(IExtension... extensions)
Sets the supported extensions for both the server and client
Web Socket sessions.
|
DefaultWebSocketSessionConfig |
DefaultWebSocketSessionConfig.setSupportedSubProtocols(String... subProtocols)
Sets the names of supported subprotocols for both the server and client
Web Socket sessions.
|
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.