List<StorableKey> ids = requestEntity.entries;
ArrayList<E> entries = new ArrayList<E>(ids.size());
StorableStore store = _stores.getEntryStore();
for (StorableKey key : ids) {
Storable raw = store.findEntry(key);
// note: this may give null as well; caller needs to check (converter passes null as-is)
E entry = (E) _entryConverter.entryFromStorable(raw);
entries.add(entry);
}
return (OUT) response.ok(new SyncPullResponse<E>(_fileManager, _syncPullSmileWriter, entries));