public class MultipartRequestEntity
extends org.apache.http.entity.AbstractHttpEntity
| Constructor and Description |
|---|
MultipartRequestEntity() |
MultipartRequestEntity(javax.mail.internet.MimeMultipart mp) |
MultipartRequestEntity(String subType) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
setBlob(Blob blob) |
void |
setBlobs(List<Blob> blobs) |
void |
setRequest(String content) |
void |
writeTo(OutputStream arg0) |
public MultipartRequestEntity()
public MultipartRequestEntity(String subType)
public MultipartRequestEntity(javax.mail.internet.MimeMultipart mp)
public void setRequest(String content) throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic void setBlob(Blob blob) throws javax.mail.MessagingException, IOException
javax.mail.MessagingExceptionIOExceptionpublic void setBlobs(List<Blob> blobs) throws javax.mail.MessagingException, IOException
javax.mail.MessagingExceptionIOExceptionpublic boolean isRepeatable()
public boolean isStreaming()
public InputStream getContent() throws IOException, IllegalStateException
IOExceptionIllegalStateExceptionpublic void writeTo(OutputStream arg0) throws IOException
IOExceptionpublic long getContentLength()
Copyright © 2015 Nuxeo SA. All rights reserved.