public class MultipartRequestEntity extends org.apache.http.entity.AbstractHttpEntity
Modifier and Type | Field and Description |
---|---|
protected javax.mail.internet.MimeMultipart |
mp |
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) |
protected void |
setBlob(Blob blob,
String id) |
void |
setBlobs(List<Blob> blobs) |
void |
setRequest(String content) |
void |
writeTo(OutputStream arg0) |
protected javax.mail.internet.MimeMultipart mp
public MultipartRequestEntity()
public MultipartRequestEntity(String subType)
public MultipartRequestEntity(javax.mail.internet.MimeMultipart mp)
public void setRequest(String content) throws javax.mail.MessagingException
javax.mail.MessagingException
public void setBlob(Blob blob) throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
protected void setBlob(Blob blob, String id) throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
public void setBlobs(List<Blob> blobs) throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
public boolean isRepeatable()
public boolean isStreaming()
public InputStream getContent() throws IOException, IllegalStateException
IOException
IllegalStateException
public void writeTo(OutputStream arg0) throws IOException
IOException
public long getContentLength()
Copyright © 2016 Nuxeo SA. All rights reserved.