Annotation Type OnWebSocketConnect
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnWebSocketConnectAnnotation for tagging methods to receive connection open events.Only 1 acceptable method pattern for this annotation.
Note:methodNamecan be any name you want to use.public void methodName(Sessionsession)