450451452453454455456
Locktype lockType = new Locktype(); lockType.setWrite(new Write()); body.setLocktype(lockType); entity.setEntity(new StringEntity(SardineUtil.toXml(body), UTF_8)); // Return the lock token return this.execute(entity, new LockResponseHandler()); }