use of ddf.catalog.content.operation.impl.ReadStorageResponseImpl in project ddf by codice.
the class FileSystemStorageProvider method read.
@Override
public ReadStorageResponse read(ReadStorageRequest readRequest) throws StorageException {
LOGGER.trace("ENTERING: read");
if (readRequest.getResourceUri() == null) {
return new ReadStorageResponseImpl(readRequest);
}
URI uri = readRequest.getResourceUri();
ContentItem returnItem = readContent(uri);
return new ReadStorageResponseImpl(readRequest, returnItem);
}
Aggregations