Annotation Interface 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
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details