Annotation Interface OnWebSocketFrame


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

Annotation for methods to receive WebSocket frame events.

Acceptable method patterns:

  1. public void <methodName>(Frame frame)
  2. public void <methodName>(Session session, Frame frame)
See Also: