Package io.fluxcapacitor.javaclient.web
Annotation Interface HandleSocketHandshake
@Documented
@Retention(RUNTIME)
@Target(METHOD)
@HandleWeb(value="",
method="WS_HANDSHAKE")
public @interface HandleSocketHandshake
Handles a WebSocket handshake request, invoked when a client first attempts to connect using a specialised
GET
request.- 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 thePath
annotation.- Default:
{}
-
disabled
boolean disabledIftrue
, disables this handler during discovery.- Default:
false
-
passive
boolean passiveIftrue
, the handler will not publish a response to theWebResponse
log.- Default:
false
-