Jetty Logo
Version: 9.3.7.v20160115
Contact the core Jetty developers at

private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery

Using WebSocketListener

The basic form of a WebSocket using the org.eclipse.jetty.websocket.api.WebSocketListener for incoming events.

Example 29.14.

This is by far the most basic and best performing (speed and memory wise) WebSocket implementation you can create. If the listener is too much work for you, you can instead opt for the WebSocketAdapter

See an error or something missing? Contribute to this documentation at Github!(Generated: 2016-02-13)