public interface MultipartForm extends Iterable<FormDataPart>
| Modifier and Type | Method and Description | 
|---|---|
MultipartForm | 
attribute(String name,
         String value)
Add an attribute form data part. 
 | 
MultipartForm | 
binaryFileUpload(String name,
                String filename,
                Buffer content,
                String mediaType)
Add a binary file upload form data part. 
 | 
MultipartForm | 
binaryFileUpload(String name,
                String filename,
                String pathname,
                String mediaType)
Add a binary file upload form data part. 
 | 
static MultipartForm | 
create()  | 
MultipartForm | 
textFileUpload(String name,
              String filename,
              Buffer content,
              String mediaType)
Add a text file upload form data part. 
 | 
MultipartForm | 
textFileUpload(String name,
              String filename,
              String pathname,
              String mediaType)
Add a text file upload form data part. 
 | 
forEach, iterator, spliteratorstatic MultipartForm create()
MultipartForm attribute(String name, String value)
name - the name of the attributevalue - the value of the attributeMultipartForm textFileUpload(String name, String filename, String pathname, String mediaType)
name - name of the parameterfilename - filename of the filepathname - the pathname of the filemediaType - the MIME type of the fileMultipartForm textFileUpload(String name, String filename, Buffer content, String mediaType)
name - name of the parameterfilename - filename of the filecontent - the content of the filemediaType - the MIME type of the fileMultipartForm binaryFileUpload(String name, String filename, String pathname, String mediaType)
name - name of the parameterfilename - filename of the filepathname - the pathname of the filemediaType - the MIME type of the fileMultipartForm binaryFileUpload(String name, String filename, Buffer content, String mediaType)
name - name of the parameterfilename - filename of the filecontent - the content of the filemediaType - the MIME type of the fileCopyright © 2020 Eclipse. All rights reserved.