Interface CallbackArgument.InvocationBytecodeContext
- All Superinterfaces:
CallbackArgument.ParameterContext
- Enclosing interface:
CallbackArgument
public static interface CallbackArgument.InvocationBytecodeContext
extends CallbackArgument.ParameterContext
-
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.gizmo2.creator.BlockCreatorbytecode()io.quarkus.gizmo2.VarObtains the current connection directly in the bytecode.io.quarkus.gizmo2.ExprgetDecodedMessage(org.jboss.jandex.Type parameterType) Attempts to obtain the decoded message directly in the bytecode.io.quarkus.gizmo2.VarObtains the message or error directly in the bytecode.Methods inherited from interface io.quarkus.websockets.next.deployment.CallbackArgument.ParameterContext
acceptsMessage, callbackAnnotation, callbackTarget, endpointPath, index, parameter, parameterAnnotations
-
Method Details
-
bytecode
io.quarkus.gizmo2.creator.BlockCreator bytecode()- Returns:
- the bytecode
-
getPayload
io.quarkus.gizmo2.Var getPayload()Obtains the message or error directly in the bytecode.- Returns:
- the message/error object or
nullforOnOpenandOnClosecallbacks
-
getDecodedMessage
io.quarkus.gizmo2.Expr getDecodedMessage(org.jboss.jandex.Type parameterType) Attempts to obtain the decoded message directly in the bytecode.- Parameters:
parameterType-- Returns:
- the decoded message object or
nullforOnOpen,OnCloseandOnErrorcallbacks
-
getConnection
io.quarkus.gizmo2.Var getConnection()Obtains the current connection directly in the bytecode.- Returns:
- the current
WebSocketConnection, nevernull
-