Annotation Interface OnClose
@Documented
@Retention(RUNTIME)
@Target(METHOD)
@WebSocketMapping
@Inherited
public @interface OnClose
Annotation that can be applied to a method that will receive WebSocket close 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