程序包 | 说明 |
---|---|
io.netty.example.http.websocketx.client | |
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
构造器和说明 |
---|
WebSocketClientHandler(WebSocketClientHandshaker handshaker) |
限定符和类型 | 类和说明 |
---|---|
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
|
限定符和类型 | 方法和说明 |
---|---|
WebSocketClientHandshaker |
WebSocketClientProtocolHandler.handshaker()
Returns the used handshaker
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(java.net.URI webSocketURL,
WebSocketVersion version,
java.lang.String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders)
Creates a new handshaker.
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(java.net.URI webSocketURL,
WebSocketVersion version,
java.lang.String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new handshaker.
|
构造器和说明 |
---|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker)
Base constructor
|
WebSocketClientProtocolHandler(WebSocketClientHandshaker handshaker,
boolean handleCloseFrames)
Base constructor
|