Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.client.jaxrs.impl
Class MultipartRequestEntity

java.lang.Object
  extended by org.apache.http.entity.AbstractHttpEntity
      extended by 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

Constructor Summary
MultipartRequestEntity()
           
MultipartRequestEntity(MimeMultipart mp)
           
MultipartRequestEntity(String subType)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.http.entity.AbstractHttpEntity
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartRequestEntity

public MultipartRequestEntity()

MultipartRequestEntity

public MultipartRequestEntity(String subType)

MultipartRequestEntity

public MultipartRequestEntity(MimeMultipart mp)
Method Detail

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()

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.