Interface CallbackArgument
- All Known Implementing Classes:
CloseReasonCallbackArgument,ConnectionCallbackArgument,ErrorCallbackArgument,HandshakeRequestCallbackArgument,KotlinContinuationCallbackArgument,MessageCallbackArgument,PathParamCallbackArgument
interface CallbackArgument
Provides arguments for method parameters of a callback method declared on a WebSocket endpoint.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.gizmo2.ExprThis method is only used ifmatches(ParameterContext)previously returnedtruefor the same parameter context.booleanmatches(CallbackArgument.ParameterContext context) default intpriority()
-
Field Details
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITY- See Also:
-
-
Method Details
-
matches
- Parameters:
context-- Returns:
trueif this provider matches the given parameter context,falseotherwise- Throws:
io.quarkus.websockets.next.WebSocketException- If an invalid parameter is detected
-
get
This method is only used ifmatches(ParameterContext)previously returnedtruefor the same parameter context.- Parameters:
context-- Returns:
- the result handle to be passed as an argument to a callback method
-
priority
default int priority()- Returns:
- the priority
-