com.caucho.quercus.lib.curl
Class HttpPutRequest

java.lang.Object
  extended by com.caucho.quercus.lib.curl.CurlHttpRequest
      extended by com.caucho.quercus.lib.curl.HttpPutRequest
All Implemented Interfaces:
EnvCleanup

public class HttpPutRequest
extends CurlHttpRequest

Represents a PUT Http request.


Constructor Summary
HttpPutRequest(CurlResource curlResource)
           
 
Method Summary
protected  boolean init(Env env)
          Initializes the connection.
protected  void transfer(Env env)
          Transfer data to the server.
 
Methods inherited from class com.caucho.quercus.lib.curl.CurlHttpRequest
cleanup, connect, create, error, error, execute, finish, getCurlResource, getHttpConnection, getRequest, getURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpPutRequest

public HttpPutRequest(CurlResource curlResource)
Method Detail

init

protected boolean init(Env env)
                throws java.net.ProtocolException
Initializes the connection.

Overrides:
init in class CurlHttpRequest
Throws:
java.net.ProtocolException

transfer

protected void transfer(Env env)
                 throws java.io.IOException
Transfer data to the server.

Overrides:
transfer in class CurlHttpRequest
Throws:
java.io.IOException