Class ProcedureDescription

java.lang.Object
com.rabbitmq.tools.jsonrpc.ProcedureDescription

public class ProcedureDescription extends Object
Description of a single JSON-RPC procedure.
  • Field Details

    • name

      public String name
      Procedure name
    • summary

      public String summary
      Human-readable procedure summary
    • help

      public String help
      Human-readable instructions for how to get information on the procedure's operation
    • idempotent

      public boolean idempotent
      True if this procedure is idempotent, that is, can be accessed via HTTP GET
  • Constructor Details

    • ProcedureDescription

      public ProcedureDescription(Map<String,Object> pm)
    • ProcedureDescription

      public ProcedureDescription(Method m)
    • ProcedureDescription

      public ProcedureDescription()
  • Method Details

    • getReturn

      public String getReturn()
      Getter for return type
    • setReturn

      public void setReturn(String value)
      Private API - used via reflection during parsing/loading
    • internal_getMethod

      public Method internal_getMethod()
      Private API - used to get the reflected method object, for servers
    • internal_getParams

      public ParameterDescription[] 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

      public ParameterDescription[] getParams()