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.MessagingException
public void setBlob(Blob blob) 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 © 2015 Nuxeo SA. All rights reserved.