org.skunk.dav.client.method
Class LockMethod
java.lang.Object
|
+--org.skunk.dav.client.AbstractDAVMethod
|
+--org.skunk.dav.client.method.LockMethod
- All Implemented Interfaces:
- DAVMethod
- public class LockMethod
- extends AbstractDAVMethod
Methods inherited from class org.skunk.dav.client.AbstractDAVMethod |
extractStatus, getDAVFile, getHost, getPort, getProtocol, getRequestBody, getRequestHeaders, getRequestURL, getResponseBody, getResponseHeaders, getStatus, processPropElement, setHost, setPort, setProtocol, setRequestBody, setRequestHeaders, setResponseBody, setResponseHeaders, setStatus, stripLastSlash |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockMethod
public LockMethod(java.lang.String url,
java.lang.String userHref)
LockMethod
public LockMethod(java.lang.String url,
Depth depth,
Timeout timeout,
LockScope lockScope,
java.lang.String userHref)
setDepth
public void setDepth(Depth depth)
getDepth
public Depth getDepth()
getTimeout
public Timeout getTimeout()
setTimeout
public void setTimeout(Timeout timeout)
processRequestHeaders
public void processRequestHeaders()
- Description copied from class:
AbstractDAVMethod
- a hook for processing the request headers. By default does nothing.
- Overrides:
processRequestHeaders
in class AbstractDAVMethod
getRequestMethodName
public DAVMethodName getRequestMethodName()
- Description copied from interface:
DAVMethod
- returns the method name
- Following copied from interface:
org.skunk.dav.client.DAVMethod
- Returns:
- the DAVMethodName of the method
processResponseHeaders
public void processResponseHeaders()
- Description copied from class:
AbstractDAVMethod
- a hook for processing the response headers. By default does nothing.
- Overrides:
processResponseHeaders
in class AbstractDAVMethod
processResponseBody
public void processResponseBody()
throws MalformedXMLException
- Description copied from class:
AbstractDAVMethod
- a hook into processing the body of the response. By default will
parse a multistatus response; otherwise, does nothing.
- Overrides:
processResponseBody
in class AbstractDAVMethod
- Following copied from interface:
org.skunk.dav.client.DAVMethod
- Throws:
MalformedXMLException
- if an XML response is expected
and it is not well-formed.
setRefresh
public void setRefresh(boolean isRefresh)
isRefresh
public boolean isRefresh()
processRequestBody
public void processRequestBody()
- Description copied from class:
AbstractDAVMethod
- a hook for processing the request body. By default does nothing.
- Overrides:
processRequestBody
in class AbstractDAVMethod
getLockToken
public java.lang.String getLockToken()
getUserHref
public java.lang.String getUserHref()