软件包 | 描述 |
---|---|
io.netty.handler.codec.http.websocketx |
Web Socket数据帧的编码器,解码器,握手及其相关消息类型。
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketClientHandshaker00
针对网络套接字规范版本
draft-ietf-hybi-thewebsocketprotocol- 00执行客户端打开和关闭握手此代码的很大一部分来自Netty 3.2 HTTP示例。
|
class |
WebSocketClientHandshaker07
针对网络套接字规范版本
draft-ietf-hybi-thewebsocketprotocol- 10执行客户端打开和关闭握手
|
class |
WebSocketClientHandshaker08
针对网络套接字规范版本
draft-ietf-hybi-thewebsocketprotocol- 10执行客户端打开和关闭握手
|
class |
WebSocketClientHandshaker13
针对网络套接字规范版本
draft-ietf-hybi-thewebsocketprotocol- 17执行客户端打开和关闭握手
|
Modifier and Type | Method and Description |
---|---|
WebSocketClientHandshaker |
WebSocketClientProtocolHandler.handshaker()
返回使用过的握手
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders)
创建一个新的握手。
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength)
创建一个新的握手。
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch)
创建一个新的握手。
|
Constructor and Description |
---|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker)
基础构造函数
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker, boolean handleCloseFrames)
基础构造函数
|
Copyright © 2008–2018 The Netty Project. All rights reserved.