Package org.simple4j.wsfeeler.pojoashttp
Class MethodParameterJSON
java.lang.Object
org.simple4j.wsfeeler.pojoashttp.MethodParameterJSON
HTTPExposer web service request body method parameter structure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFully qualified class name of the parameter type To call methods with primitive types, the client need to use TYPE field.getValue()value for the parameter when its not an array and not custom classvalue for the parameter when its not an array and is a custom classMap[]value for the parameter when its an array and is a custom classString[]value for the parameter when its an array and not custom classvoidsetClassName(String className) voidvoidsetValueJSON(Map valueJSON) voidsetValueJSONx(Map[] valueJSONx) voidtoString()
-
Constructor Details
-
MethodParameterJSON
public MethodParameterJSON()
-
-
Method Details
-
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
-
getValue
value for the parameter when its not an array and not custom class -
setValue
-
getValues
value for the parameter when its an array and not custom class -
setValues
-
getValueJSON
value for the parameter when its not an array and is a custom class -
setValueJSON
-
getValueJSONx
value for the parameter when its an array and is a custom class -
setValueJSONx
-
toString
-