注释类型 RequestBody


  • @Target(PARAMETER)
    @Retention(SOURCE)
    public @interface RequestBody
    Created by Zhenjie Yan on 2018/6/3.
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      boolean required
      Whether body content is required.
    • 元素详细资料

      • required

        boolean required
        Whether body content is required.

        Default is true, leading to an exception thrown in case there is no body content.

        默认值:
        true