Interface CallbackArgument.InvocationBytecodeContext

All Superinterfaces:
CallbackArgument.ParameterContext
Enclosing interface:
CallbackArgument

public static interface CallbackArgument.InvocationBytecodeContext extends CallbackArgument.ParameterContext
  • 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 null for OnOpen and OnClose callbacks
    • 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 null for OnOpen, OnClose and OnError callbacks
    • getConnection

      io.quarkus.gizmo2.Var getConnection()
      Obtains the current connection directly in the bytecode.
      Returns:
      the current WebSocketConnection, never null