org.nuxeo.ecm.automation.client.jaxrs.impl
Class MultipartRequestEntity
java.lang.Object
org.apache.http.entity.AbstractHttpEntity
org.nuxeo.ecm.automation.client.jaxrs.impl.MultipartRequestEntity
- All Implemented Interfaces:
- org.apache.http.HttpEntity
public class MultipartRequestEntity
- extends org.apache.http.entity.AbstractHttpEntity
- Author:
- Bogdan Stefanescu
Methods inherited from class org.apache.http.entity.AbstractHttpEntity |
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType |
MultipartRequestEntity
public MultipartRequestEntity()
MultipartRequestEntity
public MultipartRequestEntity(String subType)
MultipartRequestEntity
public MultipartRequestEntity(MimeMultipart mp)
setRequest
public void setRequest(String content)
throws Exception
- Throws:
Exception
setBlob
public void setBlob(Blob blob)
throws Exception
- Throws:
Exception
setBlobs
public void setBlobs(List<Blob> blobs)
throws Exception
- Throws:
Exception
isRepeatable
public boolean isRepeatable()
isStreaming
public boolean isStreaming()
getContent
public InputStream getContent()
throws IOException,
IllegalStateException
- Throws:
IOException
IllegalStateException
writeTo
public void writeTo(OutputStream arg0)
throws IOException
- Throws:
IOException
getContentLength
public long getContentLength()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.