public interface MultipartFormSpec
Modifier and Type | Method and Description |
---|---|
MultipartFormSpec |
field(java.lang.String name,
java.lang.String value)
Add a field to the multipart form
|
MultipartFileSpec |
file()
A specification of a file to upload (see RFC2388)
|
MultipartFormSpec field(java.lang.String name, java.lang.String value)
Note: Can be called multiple times to associate more than one value with a given field.
name
- the field namevalue
- the field valueMultipartFileSpec file()
Can be used to construct a multipart form with files