Annotation Type InnerBodyParam
-
@Target(PARAMETER) @Retention(RUNTIME) @Documented public @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
-
-
Element Detail
-
value
String value
-
-