code: public static Part<File> file(String name, File file) {
          return file(name, file.getName(), file);
      }
docs: Create a file multi-part field, from file.
  This return a part equivalent to &lt;input type="file" /&gt; field in multi part form.