protected ResponseContext buildGetEntryResponse(RequestContext request, Entry entry)
throws ResponseContextException {
Feed feed = createFeedBase(request);
entry.setSource(feed.getAsSource());
Document<Entry> entry_doc = entry.getDocument();
AbstractResponseContext rc = new BaseResponseContext<Document<Entry>>(entry_doc);
rc.setEntityTag(calculateEntityTag(entry));
Date updated = entry.getUpdated();
if (updated != null) {
rc.setLastModified(updated);
}
return rc;
}