Package org.nuxeo.connect.client.we
Class DownloadHandler
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.connect.client.we.DownloadHandler
Provides REST binding for 
Package download management.- Author:
- Thierry Delprat
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecancelDownload(String pkgId, String source) protected org.nuxeo.connect.data.DownloadingPackagegetDownloadingPackage(String pkgId) getDownloadProgress(String pkgId) getDownloadProgressPage(String pkgId, String source, Boolean install, Boolean depCheck, String pkgType, Boolean onlyRemote, Boolean filterOnPlatform) startDownload(String pkgId, String source, Boolean install, Boolean depCheck, String pkgType, Boolean onlyRemote, Boolean filterOnPlatform) startDownloads(String pkgList) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObjectdisptachAdapter, isAdapterMethods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResourcecheckGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
- 
Constructor Details- 
DownloadHandlerpublic DownloadHandler()
 
- 
- 
Method Details- 
getDownloadProgress
- 
getDownloadsProgress
- 
getDownloadProgressPage@GET @Produces("text/html") @Path("progressPage/{pkgId}") public Template getDownloadProgressPage(@PathParam("pkgId") String pkgId, @QueryParam("source") String source, @QueryParam("install") Boolean install, @QueryParam("depCheck") Boolean depCheck, @QueryParam("type") String pkgType, @QueryParam("onlyRemote") Boolean onlyRemote, @QueryParam("filterOnPlatform") Boolean filterOnPlatform) 
- 
getDownloadingPackage
- 
startDownload@GET @Produces("text/html") @Path("start/{pkgId}") public Template startDownload(@PathParam("pkgId") String pkgId, @QueryParam("source") String source, @QueryParam("install") Boolean install, @QueryParam("depCheck") Boolean depCheck, @QueryParam("type") String pkgType, @QueryParam("onlyRemote") Boolean onlyRemote, @QueryParam("filterOnPlatform") Boolean filterOnPlatform) 
- 
startDownloads
- 
cancelDownload@GET @Path("cancel/{pkgId}") public jakarta.ws.rs.core.Response cancelDownload(@PathParam("pkgId") String pkgId, @QueryParam("source") String source) - Since:
- 5.6
 
 
-