Annotation Interface OnWebSocketClose


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

Annotation for methods to receive WebSocket close events.

Acceptable method patterns:

  1. public void <methodName>(int statusCode, String reason)
  2. public void <methodName>(Session session, int statusCode, String reason)