Annotation Type 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
      java.lang.String value  
    • Element Detail

      • value

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