Annotation Interface Socket
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@RequirementMeta(type=STORING)
public @interface Socket
Custom annotation used to mark classes as WebSocket handlers.
- Since:
- 2.1.1-SNAPSHOT
- See Also:
-
Optional Element Summary
Optional Elements
-
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:
- "/"
-