org.apache.webdav.lib.methods
Class CopyMethod
COPY Method.
CopyMethod() - Method constructor.
|
CopyMethod(String source) - Method constructor.
|
CopyMethod(String source, String destination) - Method constructor.
|
CopyMethod(String source, String destination, boolean overwrite) - Method constructor.
|
CopyMethod(String source, String destination, boolean overwrite, int depth)
|
convertElementToProperty , generateRequestBody , getDebug , getRequestContentLength , getResponseDocument , getResponseHashtable , getResponseURLs , getResponses , parseResponse , parseXMLResponse , readResponseBody , recycle , setDebug , setDecodeResponseHrefs , setDocument , setResponseHashtable , writeRequestBody |
CopyMethod
public CopyMethod()
Method constructor.
CopyMethod
public CopyMethod(String source)
Method constructor.
CopyMethod
public CopyMethod(String source,
String destination)
Method constructor.
CopyMethod
public CopyMethod(String source,
String destination,
boolean overwrite)
Method constructor.
CopyMethod
public CopyMethod(String source,
String destination,
boolean overwrite,
int depth)
addRequestHeaders
public void addRequestHeaders(HttpState state,
HttpConnection conn)
throws IOException,
HttpException
Generate additional headers needed by the request.
state
- HttpState tokenconn
- The connection being used for the request.
getDepth
public int getDepth()
Depth getter.
getDestination
public String getDestination()
Destination getter.
getName
public String getName()
getOverwrite
public boolean getOverwrite()
Overwrite getter.
isOverwrite
public boolean isOverwrite()
Overwrite getter.
setDepth
public void setDepth(int depth)
Depth setter.
setDestination
public void setDestination(String destination)
Destination setter.
destination
- New destination value
setOverwrite
public void setOverwrite(boolean overwrite)
Overwrite setter.
overwrite
- New overwrite value
setRequestHeader
public void setRequestHeader(String headerName,
String headerValue)
headerName
- Header nameheaderValue
- Header value