Package com.rabbitmq.tools.jsonrpc
Class ProcedureDescription
java.lang.Object
com.rabbitmq.tools.jsonrpc.ProcedureDescription
Description of a single JSON-RPC procedure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionHuman-readable instructions for how to get information on the procedure's operationbooleanTrue if this procedure is idempotent, that is, can be accessed via HTTP GETProcedure nameHuman-readable procedure summary -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionintarity()Retrieves the parameter count for this procedureGetter for return typePrivate API - used to get the reflected method object, for serversGets an array of parameter descriptions for all this procedure's parametersvoidPrivate API - used via reflection during parsing/loading
-
Field Details
-
name
Procedure name -
summary
Human-readable procedure summary -
help
Human-readable instructions for how to get information on the procedure's operation -
idempotent
public boolean idempotentTrue if this procedure is idempotent, that is, can be accessed via HTTP GET
-
-
Constructor Details
-
ProcedureDescription
-
ProcedureDescription
-
ProcedureDescription
public ProcedureDescription()
-
-
Method Details
-
getReturn
Getter for return type -
setReturn
Private API - used via reflection during parsing/loading -
internal_getMethod
Private API - used to get the reflected method object, for servers -
internal_getParams
Gets an array of parameter descriptions for all this procedure's parameters -
arity
public int arity()Retrieves the parameter count for this procedure -
getParams
-