Class CheckoutMethod

java.lang.Object
org.apache.commons.httpclient.HttpMethodBase
All Implemented Interfaces:
org.apache.commons.httpclient.HttpMethod

public class CheckoutMethod extends XMLResponseMethodBase
The Checkout method can be applied to a checked-in version-controlled resource.

Example Request

 Checkout /foo.html HTTP/1.1
 Host: www.server.org
 Content-Length: xx
 

Example Response

 HTTP/1.1 200 OK
 
  • Constructor Details

    • CheckoutMethod

      public CheckoutMethod()
      Method constructor.
    • CheckoutMethod

      public CheckoutMethod(String path)
      Method constructor.
  • Method Details

    • parseResponse

      public void parseResponse(InputStream input, org.apache.commons.httpclient.HttpState state, org.apache.commons.httpclient.HttpConnection conn) throws IOException, org.apache.commons.httpclient.HttpException
      Parse response.
      Overrides:
      parseResponse in class XMLResponseMethodBase
      Parameters:
      input - Input stream
      Throws:
      IOException
      org.apache.commons.httpclient.HttpException
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.commons.httpclient.HttpMethod
      Specified by:
      getName in class org.apache.commons.httpclient.HttpMethodBase