Class CheckoutMethod

  • 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 Detail

      • CheckoutMethod

        public CheckoutMethod()
        Method constructor.
      • CheckoutMethod

        public CheckoutMethod​(java.lang.String path)
        Method constructor.
    • Method Detail

      • parseResponse

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

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