com.googlecode.sardine.util
Class SardineUtil.HttpCopy

java.lang.Object
  extended by org.apache.http.message.AbstractHttpMessage
      extended by org.apache.http.client.methods.HttpRequestBase
          extended by org.apache.http.client.methods.HttpEntityEnclosingRequestBase
              extended by com.googlecode.sardine.util.SardineUtil.HttpCopy
All Implemented Interfaces:
java.lang.Cloneable, org.apache.http.client.methods.AbortableHttpRequest, org.apache.http.client.methods.HttpUriRequest, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest
Enclosing class:
SardineUtil

public static class SardineUtil.HttpCopy
extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase

Simple class for making copy a bit easier to deal with. Assumes Overwrite = T.


Field Summary
 
Fields inherited from class org.apache.http.message.AbstractHttpMessage
headergroup, params
 
Constructor Summary
SardineUtil.HttpCopy(java.lang.String sourceUrl, java.lang.String destinationUrl)
           
 
Method Summary
 java.lang.String getMethod()
           
 
Methods inherited from class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
clone, expectContinue, getEntity, setEntity
 
Methods inherited from class org.apache.http.client.methods.HttpRequestBase
abort, getProtocolVersion, getRequestLine, getURI, isAborted, setConnectionRequest, setReleaseTrigger, setURI
 
Methods inherited from class org.apache.http.message.AbstractHttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.http.HttpRequest
getRequestLine
 
Methods inherited from interface org.apache.http.HttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
 

Constructor Detail

SardineUtil.HttpCopy

public SardineUtil.HttpCopy(java.lang.String sourceUrl,
                            java.lang.String destinationUrl)
                     throws SardineException
Throws:
SardineException
Method Detail

getMethod

public java.lang.String getMethod()
Specified by:
getMethod in interface org.apache.http.client.methods.HttpUriRequest
Specified by:
getMethod in class org.apache.http.client.methods.HttpRequestBase


Copyright © 2010 Jon Stevens and a gang of smelly fish. All Rights Reserved. Build version: 39