Jetty WebSocket API : WebSocket POJO Annotations
Annotation Types Summary Annotation Type Description OnWebSocketCloseAnnotation for tagging methods to receive connection close events. OnWebSocketConnectAnnotation for tagging methods to receive connection open events. OnWebSocketErrorAnnotation for receiving websocket errors (exceptions) that have occurred internally in the websocket implementation. OnWebSocketFrame(ADVANCED) Annotation for tagging methods to receive frame events. OnWebSocketMessageAnnotation for tagging methods to receive Binary or Text Message events. WebSocketTags a POJO as being a WebSocket class.