com.saucelabs.ci
Class SauceFactory
java.lang.Object
com.saucelabs.ci.SauceFactory
public class SauceFactory
- extends Object
- Author:
- Ross Rowe
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SauceFactory
public SauceFactory()
doREST
public String doREST(String urlText)
throws IOException
- Throws:
IOException
doREST
public String doREST(String urlText,
String userName,
String password)
throws IOException
- Invokes a Sauce REST API command
- Parameters:
urlText - userName - password -
- Returns:
- results of REST command
- Throws:
IOException
setupProxy
public void setupProxy(String proxyHost,
String proxyPort,
String userName,
String password)
- Populates the http proxy system properties.
- Parameters:
proxyHost - proxyPort - userName - password -
doHTTPGet
public byte[] doHTTPGet(String downloadUrl)
throws IOException
- Parameters:
downloadUrl -
- Returns:
-
- Throws:
IOException
Copyright © 2004-2011. All Rights Reserved.