109110111112113114115116117118119
if (!digest(context, Constants.CONTENT_SHA1, sha1)) { return ResponseFactory.INTERNAL_SERVER_ERROR; } context.addHeader(Constants.VALUE_ID, valueId.toHexString()); upsertVclock(key, context); try { index.add(key, context, valueId);
7677787980818283848586
//Context context = entry.getValue(); xml.writeStartElement("value"); xml.writeStartElement("id"); xml.writeCharacters(valueId.toHexString()); xml.writeEndElement(); //xml.writeStartElement("creationTime"); //xml.writeCharacters(DateUtils.format(vclock.getCreationTime())); //xml.writeEndElement();