Annotation Interface OnOpen
@Documented
@Retention(RUNTIME)
@Target(METHOD)
@WebSocketMapping
@Inherited
public @interface OnOpen
Annotation that can be applied to a method that will receive WebSocket open frames. Largely mirrors the
equivalent annotation in
javax.websocket
and eventual support for the specification could be added in the future.- Since:
- 1.0
- Author:
- graemerocher