Limitations:
Use {@link #forRequest(HttpRequest)} to construct. For example:
static void setMediaWithMetadataContent( HttpRequest request, AtomContent atomContent, InputStreamContent imageContent) { MultipartRelatedContent.forRequest(request, atomContent, imageContent); }
{@link #writeTo} can be called multiple times for Multipart/Related content. Parts must notclose the output stream in {@link #writeTo}.
Implementation is not thread-safe.
@since 1.1 @author Yaniv Inbar
|
|
|
|