Annotation Interface Socket


Custom annotation used to mark classes as WebSocket handlers.
Since:
2.1.1-SNAPSHOT
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the WebSocket path to which this handler is associated.
  • Element Details

    • value

      Specifies the WebSocket path to which this handler is associated. This path is used to identify which WebSocket endpoint the handler is responsible for.
      Returns:
      The WebSocket path associated with this handler.
      Default:
      "/"