com.xebialabs.deployit.core.rest.api
Class DownloadResource

java.lang.Object
  extended by com.xebialabs.deployit.core.rest.api.DownloadResource
All Implemented Interfaces:
com.xebialabs.deployit.core.api.DownloadService

@Controller
public class DownloadResource
extends java.lang.Object
implements com.xebialabs.deployit.core.api.DownloadService


Constructor Summary
DownloadResource()
           
 
Method Summary
 javax.ws.rs.core.Response download(java.lang.String downloadKey)
           
 java.lang.String register(java.io.File file, com.xebialabs.deployit.repository.WorkDir workDir, java.lang.String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadResource

public DownloadResource()
Method Detail

download

public javax.ws.rs.core.Response download(java.lang.String downloadKey)
Specified by:
download in interface com.xebialabs.deployit.core.api.DownloadService

register

public java.lang.String register(java.io.File file,
                                 com.xebialabs.deployit.repository.WorkDir workDir,
                                 java.lang.String contentType)