com.caucho.quercus.lib.curl
Class MultipartBody

java.lang.Object
  extended by com.caucho.quercus.lib.curl.PostBody
      extended by com.caucho.quercus.lib.curl.MultipartBody

public class MultipartBody
extends PostBody


Constructor Summary
MultipartBody()
           
 
Method Summary
 long getContentLength()
           
 java.lang.String getContentType()
           
protected  boolean init(Env env, Value body)
           
 void writeTo(Env env, java.io.OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartBody

public MultipartBody()
Method Detail

init

protected boolean init(Env env,
                       Value body)
Specified by:
init in class PostBody

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in class PostBody

getContentLength

public long getContentLength()
Specified by:
getContentLength in class PostBody

writeTo

public void writeTo(Env env,
                    java.io.OutputStream os)
             throws java.io.IOException
Specified by:
writeTo in class PostBody
Throws:
java.io.IOException