Annotation Interface OnWebSocketOpen


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnWebSocketOpen

Annotation for methods to receive WebSocket connect events.

Acceptable method signatures:

  1. public void <methodName>(*Session session)

The * before the parameter type means that the parameter is mandatory.