Package | Description |
---|---|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
Modifier and Type | Method and Description |
---|---|
static WebSocketVersion |
WebSocketVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketVersion[] |
WebSocketVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
WebSocketVersion |
WebSocketServerHandshaker.version()
Returns the version of the specification being supported
|
WebSocketVersion |
WebSocketClientProtocolConfig.version() |
WebSocketVersion |
WebSocketClientHandshaker.version()
Version of the web socket specification that is being used
|
Modifier and Type | Method and Description |
---|---|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders)
Creates a new handshaker.
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new handshaker.
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch)
Creates a new handshaker.
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch,
long forceCloseTimeoutMillis)
Creates a new handshaker.
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch,
long forceCloseTimeoutMillis,
boolean absoluteUpgradeUrl)
Creates a new handshaker.
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch,
long forceCloseTimeoutMillis,
boolean absoluteUpgradeUrl,
boolean generateOriginHeader)
Creates a new handshaker.
|
WebSocketClientProtocolConfig.Builder |
WebSocketClientProtocolConfig.Builder.version(WebSocketVersion version)
Version of web socket specification to use to connect to the server
|
Constructor and Description |
---|
WebSocketClientHandshaker(URI uri,
WebSocketVersion version,
String subprotocol,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Base constructor
|
WebSocketClientHandshaker(URI uri,
WebSocketVersion version,
String subprotocol,
HttpHeaders customHeaders,
int maxFramePayloadLength,
long forceCloseTimeoutMillis)
Base constructor
|
WebSocketClientHandshaker(URI uri,
WebSocketVersion version,
String subprotocol,
HttpHeaders customHeaders,
int maxFramePayloadLength,
long forceCloseTimeoutMillis,
boolean absoluteUpgradeUrl)
Base constructor
|
WebSocketClientHandshaker(URI uri,
WebSocketVersion version,
String subprotocol,
HttpHeaders customHeaders,
int maxFramePayloadLength,
long forceCloseTimeoutMillis,
boolean absoluteUpgradeUrl,
boolean generateOriginHeader)
Base constructor
|
WebSocketClientHandshaker00(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new instance with the specified destination WebSocket location and version to initiate.
|
WebSocketClientHandshaker00(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
HttpHeaders customHeaders,
int maxFramePayloadLength,
long forceCloseTimeoutMillis)
Creates a new instance with the specified destination WebSocket location and version to initiate.
|
WebSocketClientHandshaker07(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new instance.
|
WebSocketClientHandshaker07(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch)
Creates a new instance.
|
WebSocketClientHandshaker07(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch,
long forceCloseTimeoutMillis)
Creates a new instance.
|
WebSocketClientHandshaker08(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new instance.
|
WebSocketClientHandshaker08(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch)
Creates a new instance.
|
WebSocketClientHandshaker08(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch,
long forceCloseTimeoutMillis)
Creates a new instance.
|
WebSocketClientHandshaker13(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new instance.
|
WebSocketClientHandshaker13(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch)
Creates a new instance.
|
WebSocketClientHandshaker13(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch,
long forceCloseTimeoutMillis)
Creates a new instance.
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Base constructor
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean handleCloseFrames)
Base constructor
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean handleCloseFrames,
boolean performMasking,
boolean allowMaskMismatch)
Base constructor
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean handleCloseFrames,
boolean performMasking,
boolean allowMaskMismatch,
long handshakeTimeoutMillis)
Base constructor
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean handleCloseFrames,
long handshakeTimeoutMillis)
Base constructor
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
long handshakeTimeoutMillis)
Base constructor
|
WebSocketServerHandshaker(WebSocketVersion version,
String uri,
String subprotocols,
int maxFramePayloadLength)
Constructor specifying the destination web socket location
|
WebSocketServerHandshaker(WebSocketVersion version,
String uri,
String subprotocols,
WebSocketDecoderConfig decoderConfig)
Constructor specifying the destination web socket location
|
Copyright © 2008–2024 The Netty Project. All rights reserved.