Modifier and Type | Field and Description |
---|---|
static TypeArg<MultipartForm> |
__TYPE_ARG |
Constructor and Description |
---|
MultipartForm(MultipartForm delegate) |
Modifier and Type | Method and Description |
---|---|
MultipartForm |
attribute(String name,
String value)
Add an attribute form data part.
|
MultipartForm |
binaryFileUpload(String name,
String filename,
String pathname,
String mediaType)
Add a binary file upload form data part.
|
static MultipartForm |
create() |
boolean |
equals(Object o) |
MultipartForm |
getDelegate() |
int |
hashCode() |
static MultipartForm |
newInstance(MultipartForm arg) |
MultipartForm |
textFileUpload(String name,
String filename,
String pathname,
String mediaType)
Add a text file upload form data part.
|
String |
toString() |
public static final TypeArg<MultipartForm> __TYPE_ARG
public MultipartForm(MultipartForm delegate)
public MultipartForm getDelegate()
public static MultipartForm create()
public MultipartForm attribute(String name, String value)
name
- the name of the attributevalue
- the value of the attributepublic MultipartForm 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 filepublic MultipartForm 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 filepublic static MultipartForm newInstance(MultipartForm arg)
Copyright © 2019 Eclipse. All rights reserved.