Annotation Interface InnerBodyParam
Bind the value of a field of an json object passed in http body, to the annotated parameter.
Exemple :
{
myFirst : 120,
mySecond : { comment:"It's a trap !" }
}
Can be map to :
void myService(@InnerBodyParam("myFirst") long myFirstValue, @InnerBodyParam("mySecond") Comment comment)
- Author:
- npiedeloup
-
Required Element Summary
Required Elements
-
Element Details
-
value
String value
-