Annotation Interface HandleSocketClose


@Documented @Retention(RUNTIME) @Target(METHOD) @HandleWeb(value="", method="WS_CLOSE") public @interface HandleSocketClose
Handles a WebSocket connection close event.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If true, disables this handler during discovery.
    One or more path patterns this handler applies to (e.g.
  • Element Details

    • value

      String[] value
      One or more path patterns this handler applies to (e.g. /users, /accounts/*). If empty, the path is based on the Path annotation.
      Default:
      {}
    • disabled

      boolean disabled
      If true, disables this handler during discovery.
      Default:
      false