public class DownloadConnector extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
DownloadConnector() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
download(String workspace,
String path,
String version)
Returns to browser a stream got from _jcr\:content_/_jcr\:data_ for downloading the content of the node.
|
public javax.ws.rs.core.Response download(String workspace, String path, String version) throws Exception
workspace - The workspace where stores the document node.path - The path to the document node.version - The version name.Exception - The exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.