Jetty Logo
Version: 9.2.7-SNAPSHOT
Contact the core Jetty developers at www.webtide.com

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 30.14. ListenerEchoSocket.java


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: 2014-12-20T01:00:36-08:00)