See: Description
| Interface | Description |
|---|---|
| WebSocketFrameDecoder |
Marker interface which all WebSocketFrame decoders need to implement.
|
| WebSocketFrameEncoder |
Marker interface which all WebSocketFrame encoders need to implement.
|
| Class | Description |
|---|---|
| BinaryWebSocketFrame |
Web Socket frame containing binary data
|
| CloseWebSocketFrame |
Web Socket Frame for closing the connection
|
| ContinuationWebSocketFrame |
Web Socket continuation frame containing continuation text or binary data.
|
| PingWebSocketFrame |
Web Socket frame containing binary data
|
| PongWebSocketFrame |
Web Socket frame containing binary data
|
| TextWebSocketFrame |
Web Socket text frame with assumed UTF-8 encoding
|
| WebSocket00FrameDecoder |
Decodes
ByteBufs into WebSocketFrames. |
| WebSocket00FrameEncoder |
Encodes a
WebSocketFrame into a ByteBuf. |
| WebSocket07FrameDecoder |
Decodes a web socket frame from wire protocol version 7 format.
|
| WebSocket07FrameEncoder |
Encodes a web socket frame into wire protocol version 7 format.
|
| WebSocket08FrameDecoder |
Decodes a web socket frame from wire protocol version 8 format.
|
| WebSocket08FrameEncoder |
Encodes a web socket frame into wire protocol version 8 format.
|
| WebSocket13FrameDecoder |
Decodes a web socket frame from wire protocol version 13 format.
|
| WebSocket13FrameEncoder |
Encodes a web socket frame into wire protocol version 13 format.
|
| WebSocketChunkedInput |
A
ChunkedInput that fetches data chunk by chunk for use with WebSocket chunked transfers. |
| WebSocketClientHandshaker |
Base class for web socket client handshake implementations
|
| 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.
|
| WebSocketClientHandshaker07 |
Performs client side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
10
|
| WebSocketClientHandshaker08 |
Performs client side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
10
|
| WebSocketClientHandshaker13 |
Performs client side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
17
|
| WebSocketClientHandshakerFactory |
Creates a new
WebSocketClientHandshaker of desired protocol version. |
| WebSocketClientProtocolHandler |
This handler does all the heavy lifting for you to run a websocket client.
|
| WebSocketFrame |
Base class for web socket frames
|
| WebSocketFrameAggregator |
Handler that aggregate fragmented WebSocketFrame's.
|
| WebSocketServerHandshaker |
Base class for server side web socket opening and closing handshakes
|
| WebSocketServerHandshaker00 |
Performs server 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.
|
| WebSocketServerHandshaker07 |
Performs server side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
10
|
| WebSocketServerHandshaker08 |
Performs server side opening and closing handshakes for web socket specification version draft-ietf-hybi-thewebsocketprotocol-
10
|
| WebSocketServerHandshaker13 |
Performs server side opening and closing handshakes for RFC 6455
(originally web socket specification draft-ietf-hybi-thewebsocketprotocol-17).
|
| WebSocketServerHandshakerFactory |
Auto-detects the version of the Web Socket protocol in use and creates a new proper
WebSocketServerHandshaker. |
| WebSocketServerProtocolHandler |
This handler does all the heavy lifting for you to run a websocket server.
|
| Enum | Description |
|---|---|
| WebSocketClientProtocolHandler.ClientHandshakeStateEvent |
Events that are fired to notify about handshake status
|
| WebSocketServerProtocolHandler.ServerHandshakeStateEvent |
Events that are fired to notify about handshake status
|
| WebSocketVersion |
Versions of the web socket specification.
|
| Exception | Description |
|---|---|
| WebSocketHandshakeException |
Exception during handshaking process
|
This package supports different web socket specification versions (hence the X suffix). The specification current supported are:
For the detailed instruction on adding add Web Socket support to your HTTP
server, take a look into the WebSocketServerX example located in the
io.netty.example.http.websocket package.
Copyright © 2008–2018 The Netty Project. All rights reserved.