Package | Description |
---|---|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketClientHandshaker00
Performs client side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
00
A very large portion of this code was taken from the Netty 3.2 HTTP example.
|
class |
WebSocketClientHandshaker07
Performs client side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
10
|
class |
WebSocketClientHandshaker08
Performs client side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
10
|
class |
WebSocketClientHandshaker13
Performs client side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
17
|
Modifier and Type | Method and Description |
---|---|
WebSocketClientHandshaker |
WebSocketClientProtocolHandler.handshaker()
Returns the used handshaker
|
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.
|
WebSocketClientHandshaker |
WebSocketClientHandshaker.setForceCloseTimeoutMillis(long forceCloseTimeoutMillis)
Sets timeout to close the connection if it was not closed by the server.
|
Constructor and Description |
---|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker)
Base constructor
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker,
boolean handleCloseFrames)
Base constructor
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker,
boolean handleCloseFrames,
boolean dropPongFrames)
Base constructor
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker,
boolean handleCloseFrames,
boolean dropPongFrames,
long handshakeTimeoutMillis)
Base constructor
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker,
boolean handleCloseFrames,
boolean dropPongFrames,
long handshakeTimeoutMillis,
boolean withUTF8Validator)
Base constructor
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker,
boolean handleCloseFrames,
long handshakeTimeoutMillis)
Base constructor
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker,
long handshakeTimeoutMillis)
Base constructor
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker,
WebSocketClientProtocolConfig clientConfig)
Base constructor
|
Copyright © 2008–2024 The Netty Project. All rights reserved.