issrg.utils.webdav
Class COPY

java.lang.Object
  extended by issrg.utils.webdav.HTTPMessage
      extended by issrg.utils.webdav.COPY

public class COPY
extends HTTPMessage

The WebDAV COPY method requests copying a resource to a different location on the server.

Version:
19/03/2007
Author:
Sean Antony

Field Summary
 
Fields inherited from class issrg.utils.webdav.HTTPMessage
CRLF, EMPTY, FS, host, HTTPVersion, LF, method, padSP, port, socket, SP, URI
 
Constructor Summary
COPY(WebDAVSocket socket, java.lang.String server, int port, java.lang.String URI, java.lang.String destination)
           
 
Method Summary
 
Methods inherited from class issrg.utils.webdav.HTTPMessage
getRequestMessage, getRequestMessageByte, getResponseCode, getResponseContentLength, getResponseEntity, getResponseEntityByte, getResponseMessage, getResponseMessageByte, getResponseParagraph, getResponseTitle, isResponseSuccessful, transceive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COPY

public COPY(WebDAVSocket socket,
            java.lang.String server,
            int port,
            java.lang.String URI,
            java.lang.String destination)
Parameters:
socket - inherited from HTTPMessage
server - inherited from HTTPMessage
port - inherited from HTTPMessage
URI - inherited from HTTPMessage, in this case should specify the location of the collection/resource you want to copy
destination - the location where you want to copy the source URI