Annotation Interface OnWebSocketPing


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

Annotation for methods to receive WebSocket PING events.

Acceptable method patterns:

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