public class CloudEnv
extends java.lang.Object
Constructor and Description |
---|
CloudEnv() |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.client.HttpClient |
createHTTPClient() |
static org.apache.http.client.HttpClient |
createHTTPSSLClient(org.apache.http.client.HttpClient base) |
java.lang.String |
getAccountsAPIURL() |
java.lang.String |
getAuthCodeURL() |
java.lang.String |
getBaseURL() |
java.lang.String |
getDataAPIURL() |
java.lang.String |
getDPURL() |
java.util.Map<java.lang.String,java.lang.String> |
getHttpHeaders() |
java.lang.String |
getOAuth2URL() |
void |
setBaseURL(java.lang.String baseURL) |
void |
setDPURL(java.lang.String dp) |
void |
setHttpHeaders(java.util.Map<java.lang.String,java.lang.String> httpHeaders) |
public java.lang.String getOAuth2URL()
public java.lang.String getAuthCodeURL()
public java.lang.String getDataAPIURL()
public java.lang.String getAccountsAPIURL()
public java.lang.String getDPURL()
public void setDPURL(java.lang.String dp)
public static org.apache.http.client.HttpClient createHTTPClient()
public static org.apache.http.client.HttpClient createHTTPSSLClient(org.apache.http.client.HttpClient base)
public java.util.Map<java.lang.String,java.lang.String> getHttpHeaders()
public void setHttpHeaders(java.util.Map<java.lang.String,java.lang.String> httpHeaders)
public java.lang.String getBaseURL()
public void setBaseURL(java.lang.String baseURL)