# Package org.eclipse.jetty.websocket

- Interface Summary
  Interface | Description
  --- | ---
  Extension |
  MaskGen |
  WebSocket | WebSocket Interface.
  WebSocket.Connection | A Connection interface is passed to a WebSocket instance via the `WebSocket.onOpen(Connection)` to give the application access to the specifics of the current connection.
  WebSocket.FrameConnection | Frame Level Connection
  WebSocket.OnBinaryMessage | A nested WebSocket interface for receiving binary messages
  WebSocket.OnControl | A nested WebSocket interface for receiving control messages
  WebSocket.OnFrame | A nested WebSocket interface for receiving any websocket frame
  WebSocket.OnTextMessage | A nested WebSocket interface for receiving text messages
  WebSocketConnection |
  WebSocketFactory.Acceptor |
  WebSocketGenerator | WebSocketGenerator.
  WebSocketParser | Parser the WebSocket protocol.
  WebSocketParser.FrameHandler |
  WebSocketServletConnection |

- Class Summary
  Class | Description
  --- | ---
  AbstractExtension |
  DeflateFrameExtension | TODO Implement proposed deflate frame draft
  FixedMaskGen |
  FragmentExtension |
  IdentityExtension |
  RandomMaskGen |
  WebSocketBuffers | The WebSocket Buffer Pool.
  WebSocketClient | `WebSocketClient` allows to create multiple connections to multiple destinations that can speak the websocket protocol.
  WebSocketClientFactory | WebSocketClientFactory contains the common components needed by multiple `WebSocketClient` instances (for example, a `ThreadPool`, a `NIO selector`, etc).
  WebSocketConnectionD00 |
  WebSocketConnectionD06 |
  WebSocketConnectionD08 |
  WebSocketConnectionRFC6455 | 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-------+-+-------------+-------------------------------+ |F|R|R|R| opcode|M| Payload len | Extended payload length | |I|S|S|S| (4) |A| (7) | (16/64) | |N|V|V|V| |S| | (if payload len==126/127) | | |1|2|3| |K| | | +-+-+-+-+-------+-+-------------+ - - - - - - - - - - - - - - - + | Extended payload length continued, if payload len == 127 | + - - - - - - - - - - - - - - - +-------------------------------+ | |Masking-key, if MASK set to 1 | +-------------------------------+-------------------------------+ | Masking-key (continued) | Payload Data | +-------------------------------- - - - - - - - - - - - - - - - + : Payload Data continued ...
  WebSocketFactory | Factory to create WebSocket connections
  WebSocketGeneratorD00 | WebSocketGenerator.
  WebSocketGeneratorD06 | WebSocketGenerator.
  WebSocketGeneratorD08 | WebSocketGenerator.
  WebSocketGeneratorRFC6455 | WebSocketGenerator.
  WebSocketHandler |
  WebSocketParserD00 | Parser the WebSocket protocol.
  WebSocketParserD06 | Parser the WebSocket protocol.
  WebSocketParserD08 | Parser the WebSocket protocol.
  WebSocketParserRFC6455 | Parser the WebSocket protocol.
  WebSocketServlet | Servlet to upgrade connections to WebSocket The request must have the correct upgrade headers, else it is handled as a normal servlet request.
  WebSocketServletConnectionD00 |
  WebSocketServletConnectionD06 |
  WebSocketServletConnectionD08 |
  WebSocketServletConnectionRFC6455 |
  ZeroMaskGen |

- Enum Summary
  Enum | Description
  --- | ---
  WebSocketParserD06.State |
  WebSocketParserD08.State |
  WebSocketParserRFC6455.State |

Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.