Annotation Type OnWebSocketConnect


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnWebSocketConnect
Annotation for tagging methods to receive connection open events.

Only 1 acceptable method pattern for this annotation.
Note: methodName can be any name you want to use.

  1. public void methodName(Session session)