@Documented
@Retention(RUNTIME)
@Target({METHOD,CONSTRUCTOR})
@HandleWeb(value="",
method="WS_OPEN")
public @interface HandleSocketOpen
Handles the opening of a WebSocket connection (after handshake).
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] valueOne or more path patterns this handler applies to (e.g./users,/accounts/*). If empty, the path is based on thePathannotation.- Default:
{}
-
disabled
boolean disabledIftrue, disables this handler during discovery.- Default:
false
-
passive
boolean passiveIftrue, the handler will not publish a response to theWebResponselog.- Default:
false
-