public class HttpConfiguration extends Object
Constructor and Description |
---|
HttpConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getConnectionTimeout() |
String |
getContentType()
Deprecated.
Set/Get Content-Type HTTP Header in
BaseAPIContext HTTPHeaders parameter |
String |
getEndPointUrl() |
String |
getHttpMethod() |
String |
getIpAddress() |
int |
getMaxHttpConnection() |
int |
getMaxRetry() |
String |
getProxyHost() |
String |
getProxyPassword() |
int |
getProxyPort() |
String |
getProxyUserName() |
int |
getReadTimeout() |
int |
getRetryDelay() |
boolean |
isGoogleAppEngine() |
boolean |
isProxySet() |
void |
setConnectionTimeout(int connectionTimeout)
Sets the connectionTimeout
|
void |
setContentType(String contentType)
Deprecated.
Set/Get Content-Type HTTP Header in
BaseAPIContext HTTPHeaders parameter |
void |
setEndPointUrl(String endPointUrl)
Sets the endPointUrl
|
void |
setGoogleAppEngine(boolean googleAppEngine)
Sets the googleAppEngine
|
void |
setHttpMethod(String httpMethod) |
void |
setIpAddress(String ipAddress) |
void |
setMaxHttpConnection(int maxHttpConnection)
Sets the maxHttpConnection
|
void |
setMaxRetry(int maxRetry)
Sets the maxRetry
|
void |
setProxyHost(String proxyHost)
Sets the proxyHost
|
void |
setProxyPassword(String proxyPassword)
Sets the proxyPassword
|
void |
setProxyPort(int proxyPort)
Sets the proxyPort
|
void |
setProxySet(boolean proxySet)
Sets the proxySet
|
void |
setProxyUserName(String proxyUserName)
Sets the proxyUserName
|
void |
setReadTimeout(int readTimeout)
Sets the readTimeout
|
void |
setRetryDelay(int retryDelay)
Sets the retryDelay
|
public String getIpAddress()
public void setIpAddress(String ipAddress)
public String getProxyUserName()
public void setProxyUserName(String proxyUserName)
proxyUserName
- public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
proxyPassword
- public int getMaxHttpConnection()
public void setMaxHttpConnection(int maxHttpConnection)
maxHttpConnection
- public int getRetryDelay()
public void setRetryDelay(int retryDelay)
retryDelay
- public String getEndPointUrl()
public void setEndPointUrl(String endPointUrl)
endPointUrl
- public int getMaxRetry()
public void setMaxRetry(int maxRetry)
maxRetry
- public String getProxyHost()
public void setProxyHost(String proxyHost)
proxyHost
- public int getProxyPort()
public void setProxyPort(int proxyPort)
proxyPort
- public int getReadTimeout()
public void setReadTimeout(int readTimeout)
readTimeout
- public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
connectionTimeout
- public boolean isProxySet()
public void setProxySet(boolean proxySet)
proxySet
- public boolean isGoogleAppEngine()
public void setGoogleAppEngine(boolean googleAppEngine)
googleAppEngine
- public String getHttpMethod()
public void setHttpMethod(String httpMethod)
httpMethod
- the httpMethod to setpublic String getContentType()
BaseAPIContext
HTTPHeaders parameterpublic void setContentType(String contentType)
BaseAPIContext
HTTPHeaders parametercontentType
- the contentType to setCopyright © 2016. All Rights Reserved.