status = WebdavStatus.SC_CREATED;
} else {
status = WebdavStatus.SC_NO_CONTENT;
}
} else {
destCollection.insertBinary(destName, (byte[]) object.getValue());
status = WebdavStatus.SC_CREATED;
}
} else if (object.getEntryType() == Entry.DOCUMENT) {
if (overwrite) {
if (destCollection.setDocument(new Key(destName), (Document) object.getValue())) {