List of usage examples for com.liferay.portal.kernel.webdav.methods Method LOCK
String LOCK
To view the source code for com.liferay.portal.kernel.webdav.methods Method LOCK.
Click Source Link
From source file:com.liferay.document.library.webdav.test.BaseWebDAVTestCase.java
License:Open Source License
public Tuple serviceLock(String path, Map<String, String> headers, int depth) { if (headers == null) { headers = new HashMap<>(); }//from ww w. ja v a2s. c o m headers.put("Depth", getDepth(depth)); headers.put("Timeout", "Second-" + 3600); return service(Method.LOCK, path, headers, _LOCK_XML.getBytes()); }