com.caucho.quercus.lib.curl
Class UrlEncodedBody

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

public class UrlEncodedBody
extends PostBody


Constructor Summary
UrlEncodedBody()
           
 
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

UrlEncodedBody

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