Annotation Interface OnWebSocketPong


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

Annotation for methods to receive WebSocket PONG events.

Acceptable method signatures:

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

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