Package | Description |
---|---|
org.jboss.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
org.jboss.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 |
DefaultHttpResponse
The default
HttpResponse implementation. |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketClientHandshaker13.finishHandshake(Channel channel,
HttpResponse response)
Process server response:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo=
Sec-WebSocket-Protocol: chat
|
void |
WebSocketClientHandshaker08.finishHandshake(Channel channel,
HttpResponse response)
Process server response:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo=
Sec-WebSocket-Protocol: chat
|
void |
WebSocketClientHandshaker07.finishHandshake(Channel channel,
HttpResponse response)
Process server response:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo=
Sec-WebSocket-Protocol: chat
|
void |
WebSocketClientHandshaker00.finishHandshake(Channel channel,
HttpResponse response)
Process server response:
HTTP/1.1 101 WebSocket Protocol Handshake
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Origin: http://example.com
Sec-WebSocket-Location: ws://example.com/demo
Sec-WebSocket-Protocol: sample
8jKS'y:G*Co,Wxa-
|
abstract void |
WebSocketClientHandshaker.finishHandshake(Channel channel,
HttpResponse response)
Validates and finishes the opening handshake initiated by
WebSocketClientHandshaker.handshake(org.jboss.netty.channel.Channel) }. |
protected ChannelFuture |
WebSocketServerHandshaker.writeHandshakeResponse(Channel channel,
HttpResponse res,
ChannelHandler encoder,
ChannelHandler decoder)
Upgrades the connection and send the handshake response.
|
Copyright © 2008-2016 The Netty Project. All Rights Reserved.