Class MethodParameterJSON

java.lang.Object
org.simple4j.wsfeeler.pojoashttp.MethodParameterJSON

public class MethodParameterJSON extends Object
HTTPExposer web service request body method parameter structure
  • Constructor Details

    • MethodParameterJSON

      public MethodParameterJSON()
  • Method Details

    • getClassName

      public String getClassName()
      Fully qualified class name of the parameter type To call methods with primitive types, the client need to use TYPE field. Here is an example {"beanId":"someBean","methodName":"someMethod", "methodParameters" : [{"className":"java.lang.String","value":"someStringParam"},{"className":"java.lang.Integer.TYPE","value":"100"}]}
    • setClassName

      public void setClassName(String className)
    • getValue

      public String getValue()
      value for the parameter when its not an array and not custom class
    • setValue

      public void setValue(String value)
    • getValues

      public String[] getValues()
      value for the parameter when its an array and not custom class
    • setValues

      public void setValues(String[] values)
    • getValueJSON

      public Map getValueJSON()
      value for the parameter when its not an array and is a custom class
    • setValueJSON

      public void setValueJSON(Map valueJSON)
    • getValueJSONx

      public Map[] getValueJSONx()
      value for the parameter when its an array and is a custom class
    • setValueJSONx

      public void setValueJSONx(Map[] valueJSONx)
    • toString

      public String toString()
      Overrides:
      toString in class Object