Annotation Type RequestBody

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean allowEmpty
      If false (the default), then an exception is thrown when the request body is empty (i.e.
    • Element Detail

      • allowEmpty

        boolean allowEmpty
        If false (the default), then an exception is thrown when the request body is empty (i.e. zero bytes). If true, then empty bodies are allowed and the parameter will receive a null value.
        Default:
        false