public class HttpServices extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
HttpServices() |
| Modifier and Type | Method and Description |
|---|---|
static HttpServices |
getInstance() |
void |
setLogger(PrintStream logger) |
org.apache.http.HttpResponse |
uploadFile(String url,
String accessId,
String secretKey,
String repository,
String repositoryItemKey,
hudson.FilePath file)
Uploads the item specified by repositoryItemKey to the repository area specified by repository.
|
public static HttpServices getInstance()
public void setLogger(PrintStream logger)
public org.apache.http.HttpResponse uploadFile(String url, String accessId, String secretKey, String repository, String repositoryItemKey, hudson.FilePath file) throws URISyntaxException, IOException
url - accessId - secretKey - repository - repositoryItemKey - IOExceptionjavax.servlet.ServletExceptionURISyntaxExceptionhttp://help.perfectomobile.com/article/AA-00311/53/Guides-Documentation/HTTP-API/Operations/Repository-Operations/02.-Upload-Item-to-Repository.htmlCopyright © 2004-2014. All Rights Reserved.