Package org.jclouds.io.payloads
Class MultipartForm
- All Implemented Interfaces:
 Closeable,AutoCloseable,Payload
- 
Field Summary
FieldsFields inherited from class org.jclouds.io.payloads.BasePayload
contentMetadata, written - 
Constructor Summary
ConstructorsConstructorDescriptionMultipartForm(String boundary, Iterable<? extends Part> content) MultipartForm(String boundary, Part... parts) MultipartForm(Part... parts)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanBy default we are repeatable.Creates a new InputStream object of the payload.voidrelease()By default there are no resources to release.Methods inherited from class org.jclouds.io.payloads.BasePayload
close, equals, getContentMetadata, getInput, getRawContent, hashCode, isSensitive, setContentMetadata, setSensitive, toString 
- 
Field Details
- 
BOUNDARY
- See Also:
 
 
 - 
 - 
Constructor Details
- 
MultipartForm
 - 
MultipartForm
 - 
MultipartForm
 
 - 
 - 
Method Details
- 
openStream
Description copied from interface:PayloadCreates a new InputStream object of the payload.- Throws:
 IOException
 - 
isRepeatable
public boolean isRepeatable()Description copied from class:BasePayloadBy default we are repeatable.- Specified by:
 isRepeatablein interfacePayload- Overrides:
 isRepeatablein classBasePayload<Iterable<? extends Part>>
 - 
release
public void release()Description copied from class:BasePayloadBy default there are no resources to release. 
 -