|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.base.HttpConfiguration
public class HttpConfiguration
Class contains http specific configuration parameters
| Constructor Summary | |
|---|---|
HttpConfiguration()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpConfiguration()
| Method Detail |
|---|
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 parameter
public void setContentType(String contentType)
BaseAPIContext HTTPHeaders parameter
contentType - the contentType to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||