public class MultipartForm extends BasePayload<Iterable<? extends Part>>
| Modifier and Type | Field and Description | 
|---|---|
static String | 
BOUNDARY  | 
content, contentMetadata, written| Constructor and Description | 
|---|
MultipartForm(Part... parts)  | 
MultipartForm(String boundary,
             Iterable<? extends Part> content)  | 
MultipartForm(String boundary,
             Part... parts)  | 
| Modifier and Type | Method and Description | 
|---|---|
InputStream | 
getInput()
Creates a new InputStream object of the payload. 
 | 
boolean | 
isRepeatable()
By default we are repeatable. 
 | 
void | 
release()
By default there are no resources to release. 
 | 
close, equals, getContentMetadata, getRawContent, hashCode, setContentMetadata, toString, writeTopublic static final String BOUNDARY
public MultipartForm(Part... parts)
public InputStream getInput()
Payloadpublic boolean isRepeatable()
BasePayloadisRepeatable in interface PayloadisRepeatable in class BasePayload<Iterable<? extends Part>>public void release()
BasePayloadCopyright © 2009-2013 jclouds. All Rights Reserved.