Annotation Interface Body


@Documented @Retention(RUNTIME) @Target(PARAMETER) @Bindable @Inherited public @interface Body
An annotation that can be applied to method argument to indicate that the method argument is bound from the HTTP body.
Since:
1.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      @AliasFor(annotation=io.micronaut.core.bind.annotation.Bindable.class, member="value") String value
      Returns:
      A Key or qualifier within the body. For example a reference to a nested JSON attribute
      Default:
      ""