| java.lang.Object org.openharmonise.webdav.client.AbstractWebDAVMethod
All known Subclasses: org.openharmonise.webdav.client.methods.Move, org.openharmonise.webdav.client.methods.deltav.Uncheckout, org.openharmonise.webdav.client.methods.Lock, org.openharmonise.webdav.client.methods.Get, org.openharmonise.webdav.client.methods.deltav.Report, org.openharmonise.webdav.client.methods.Copy, org.openharmonise.webdav.client.methods.PropFind, org.openharmonise.webdav.client.methods.dasl.Search, org.openharmonise.webdav.client.methods.Unlock, org.openharmonise.webdav.client.methods.order.OrderPatch, org.openharmonise.webdav.client.methods.deltav.VersionControl, org.openharmonise.webdav.client.methods.deltav.Checkout, org.openharmonise.webdav.client.methods.deltav.Checkin, org.openharmonise.webdav.client.methods.deltav.Update, org.openharmonise.webdav.client.methods.deltav.Label, org.openharmonise.webdav.client.methods.Head, org.openharmonise.webdav.client.methods.bind.Unbind, org.openharmonise.webdav.client.methods.PropPatch, org.openharmonise.webdav.client.methods.Put, org.openharmonise.webdav.client.methods.bind.Bind, org.openharmonise.webdav.client.methods.MkCol, org.openharmonise.webdav.client.methods.Delete,
AbstractWebDAVMethod | abstract public class AbstractWebDAVMethod (Code) | | This class provides the common functionality amongst all WebDAV
methods.
author: Matthew Large version: $Revision: 1.1 $ |
DEPTH_0 | final public static String DEPTH_0(Code) | | Depth 0 identifier.
|
DEPTH_1 | final public static String DEPTH_1(Code) | | Depth 1 identifier.
|
DEPTH_INFINITY | final public static String DEPTH_INFINITY(Code) | | Depth infinity identifier.
|
DEPTH_NONE | final public static String DEPTH_NONE(Code) | | No depth identifier.
|
OVERWRITE_F | final public static String OVERWRITE_F(Code) | | Overwrite false identifier.
|
OVERWRITE_T | final public static String OVERWRITE_T(Code) | | Overwrite true identifier.
|
WEBDAV_NAMESPACE | final public static String WEBDAV_NAMESPACE(Code) | | WebDAV namespace.
|
AbstractWebDAVMethod | public AbstractWebDAVMethod(String sMethodName, String sURL)(Code) | | Creates a new WebDAV method.
Parameters: sMethodName - Name of WebDAV method being created Parameters: sURL - URL of resource to execute WebDAV method on |
addHeader | public void addHeader(String sName, String sValue)(Code) | | Adds a header to the request.
Parameters: sName - name for WebDAV Header to add Parameters: sValue - value for WebDAV Header to add |
getAllHeaders | protected NVPair[] getAllHeaders()(Code) | | Returns all of the name/value header pairs.
Array of NVPair objects |
getData | public byte[] getData()(Code) | | Returns the body of the request.
Body of request |
getDepth | public String getDepth()(Code) | | Returns the WebDAV depth header value.
WebDAV depth header value |
getDestination | public String getDestination()(Code) | | Returns the WebDAV destination URL.
WebDAV destination URL |
getHeader | public String getHeader(String sName)(Code) | | Returns a header value for a given header name.
Parameters: sName - name for WebDAV Header to return value for WebDAV Header to add |
getName | public String getName()(Code) | | Returns the name of the method.
Name |
getOverwrite | public boolean getOverwrite()(Code) | | Returns the WebDAV overwrite header value.
WebDAV overwrite header value |
getURL | public String getURL()(Code) | | Returns the URL for the request.
URL for request |
setData | public void setData(byte[] bData)(Code) | | Sets the body for the request.
Parameters: bData - Body for request |
setDepth | public void setDepth(String sDepth)(Code) | | Sets the WebDAV depth header value.
Parameters: sDepth - WebDAV depth header value |
setDestination | public void setDestination(String sDestination)(Code) | | Sets the WebDAV destination URL.
Parameters: sDestination - WebDAV destination value |
setOverwrite | public void setOverwrite(boolean bOverwrite)(Code) | | Sets the WebDAV overwrite header value.
Parameters: bOverwrite - WebDAV overwrite header value |
setURL | public void setURL(String sURL)(Code) | | Sets the URL for the request.
Parameters: sURL - URL for request |
|
|