![JAR search and dependency download from the Maven repository](/logo.png)
org.basex.http.webdav.WebDAVLock Maven / Gradle / Ivy
package org.basex.http.webdav;
import org.basex.util.*;
import com.bradmcevoy.http.*;
/**
* Lock entry.
*
* @author BaseX Team, BSD License
* @author Christian Gruen
*/
final class WebDAVLock {
/** Lock token. */
final LockToken token;
/** Lock path. */
final String path;
/**
* Constructor.
* @param token token
* @param path path
*/
WebDAVLock(final LockToken token, final String path) {
this.token = token;
this.path = path;
}
@Override
public String toString() {
return Util.className(this) + '[' + path + ", " +
token.info + ", " + token.timeout + ", " + token.tokenId + ']';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy