Annotation Interface OnWebSocketFrame


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

Annotation for methods to receive WebSocket frame events.

Acceptable method signatures:

  1. public void <methodName>(Session session, *Frame frame, *Callback callback)

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

See Also: