List of usage examples for com.liferay.portal.kernel.webdav.methods Method UNLOCK
String UNLOCK
To view the source code for com.liferay.portal.kernel.webdav.methods Method UNLOCK.
Click Source Link
From source file:com.liferay.document.library.webdav.test.BaseWebDAVTestCase.java
License:Open Source License
public Tuple serviceUnlock(String path, String lock) { Map<String, String> headers = null; if (Validator.isNotNull(lock)) { headers = new HashMap<>(); headers.put("Lock-Token", "<opaquelocktoken:" + lock + ">"); }// www.j a v a2s . com return service(Method.UNLOCK, path, headers, null); }