com.liferay.portal.webdav.methods
Class LockMethodImpl
java.lang.Object
com.liferay.portal.webdav.methods.LockMethodImpl
- All Implemented Interfaces:
- Method
public class LockMethodImpl
- extends Object
- implements Method
Fields inherited from interface com.liferay.portal.webdav.methods.Method |
COPY, DELETE, GET, HEAD, LOCK, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, SUPPORTED_METHODS, SUPPORTED_METHODS_ARRAY, UNLOCK |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockMethodImpl
public LockMethodImpl()
process
public int process(WebDAVRequest webDavRequest)
throws WebDAVException
- Description copied from interface:
Method
- Returns -1 or a supported HTTP status code. If it is -1, then the status
code has already been set. Otherwise, the status code needs to be set by
the caller.
- Specified by:
process
in interface Method
- Parameters:
webDavRequest
- the WebDAV request
- Returns:
- -1 or a supported HTTP status code. If it is -1, then the status
code has already been set. Otherwise, the status code needs to be
set by the caller.
- Throws:
WebDAVException
- if a WebDAV exception occurred
doProcess
protected int doProcess(WebDAVRequest webDavRequest)
throws Exception
- Throws:
Exception
getResponseXML
protected String getResponseXML(Lock lock,
long depth)
throws Exception
- Throws:
Exception