com.caucho.quercus.lib.curl
Class PostBody

java.lang.Object
  extended by com.caucho.quercus.lib.curl.PostBody
Direct Known Subclasses:
MultipartBody, UrlEncodedBody

public abstract class PostBody
extends java.lang.Object


Constructor Summary
PostBody()
           
 
Method Summary
abstract  long getContentLength()
           
abstract  java.lang.String getContentType()
           
protected abstract  boolean init(Env env, Value body)
           
abstract  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

PostBody

public PostBody()
Method Detail

init

protected abstract boolean init(Env env,
                                Value body)

getContentLength

public abstract long getContentLength()

getContentType

public abstract java.lang.String getContentType()

writeTo

public abstract void writeTo(Env env,
                             java.io.OutputStream os)
                      throws java.io.IOException
Throws:
java.io.IOException