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, writeTo
public static final String BOUNDARY
public MultipartForm(Part... parts)
public InputStream getInput()
Payload
public boolean isRepeatable()
BasePayload
isRepeatable
in interface Payload
isRepeatable
in class BasePayload<Iterable<? extends Part>>
public void release()
BasePayload
Copyright © 2009-2013 jclouds. All Rights Reserved.