Package org.eclipse.jetty.websocket.servlet
package org.eclipse.jetty.websocket.servlet
Jetty WebSocket Servlet API
How to provide WebSocket servers via the Jetty WebSocket Servlet API:
- Create your WebSocket Object
- Create your WebSocketServlet
- Register your WebSocket Object with the WebSocketServletFactory
- Wire up your WebSocketServlet to your web.xml or via Servlet 3.x annotations
-
ClassDescriptionServlet specific
UpgradeRequest
implementation.Servlet Specific UpgradeResponse implementation.Abstract WebSocket creator interface.Abstract Servlet used to bridge the Servlet API to the WebSocket API.Basic WebSocketServletFactory for working with Jetty-based WebSocketServlets