}
}
// Datastream is ReferencedExternalContent so dsLocation is a
// URL string
ExternalContentManager externalContentManager =
(ExternalContentManager) m_server
.getModule("org.fcrepo.server.storage.ExternalContentManager");
ContentManagerParams params = new ContentManagerParams(dsPhysicalLocation);
params.setContext(context);
mimeTypedStream = externalContentManager.getExternalContent(params);
// had substituted context:
// ReadOnlyContext.getContext(Constants.HTTP_REQUEST.REST.uri,
// request));
outStream = response.getOutputStream();