org.apache.abdera.protocol.client.util
Class MultipartRelatedRequestEntity

java.lang.Object
  extended by org.apache.abdera.protocol.client.util.MultipartRelatedRequestEntity
All Implemented Interfaces:
org.apache.commons.httpclient.methods.RequestEntity

public class MultipartRelatedRequestEntity
extends Object
implements org.apache.commons.httpclient.methods.RequestEntity


Constructor Summary
MultipartRelatedRequestEntity(Entry entry, InputStream input)
           
MultipartRelatedRequestEntity(Entry entry, InputStream input, String contentType)
           
MultipartRelatedRequestEntity(Entry entry, InputStream input, String contentType, String boundary)
           
 
Method Summary
 long getContentLength()
           
 String getContentType()
           
 boolean isRepeatable()
           
 void writeRequest(OutputStream arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartRelatedRequestEntity

public MultipartRelatedRequestEntity(Entry entry,
                                     InputStream input)

MultipartRelatedRequestEntity

public MultipartRelatedRequestEntity(Entry entry,
                                     InputStream input,
                                     String contentType)

MultipartRelatedRequestEntity

public MultipartRelatedRequestEntity(Entry entry,
                                     InputStream input,
                                     String contentType,
                                     String boundary)
Method Detail

writeRequest

public void writeRequest(OutputStream arg0)
                  throws IOException
Specified by:
writeRequest in interface org.apache.commons.httpclient.methods.RequestEntity
Throws:
IOException

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface org.apache.commons.httpclient.methods.RequestEntity

getContentType

public String getContentType()
Specified by:
getContentType in interface org.apache.commons.httpclient.methods.RequestEntity

isRepeatable

public boolean isRepeatable()
Specified by:
isRepeatable in interface org.apache.commons.httpclient.methods.RequestEntity


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.