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 |
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-
|
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
|
abstract void |
WebSocketClientHandshaker.finishHandshake(Channel channel,
HttpResponse response)
Validates and finishes the opening handshake initiated by
WebSocketClientHandshaker.handshake(org.jboss.netty.channel.Channel) }. |
Copyright © 2008-2013 The Netty Project. All Rights Reserved.