public class HttpProfile extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REQ_GET |
static String |
REQ_HTTP |
static String |
REQ_HTTPS |
static String |
REQ_POST |
static int |
TM_MINUTE
Time unit, 1 minute, equals 60 seconds.
|
Constructor and Description |
---|
HttpProfile() |
public static final String REQ_HTTPS
public static final String REQ_HTTP
public static final String REQ_POST
public static final String REQ_GET
public static final int TM_MINUTE
public String getReqMethod()
public void setReqMethod(String reqMethod)
reqMethod
- public String getEndpoint()
public void setEndpoint(String endpoint)
Endpoint means the domain which this request is sent to, such as [productName].tencentcloudapi.com.
If you want to request to a specified region, such as Guangzhou, set it to [productName].ap-guangzhou.tencentcloudapi.com.
endpoint
- public int getReadTimeout()
public void setReadTimeout(int readTimeout)
readTimeout
- A integer represents time in seconds.public int getWriteTimeout()
public void setWriteTimeout(int writeTimeout)
writeTimeout
- A integer represents time in seconds.public int getConnTimeout()
public void setConnTimeout(int connTimeout)
connTimeout
- A integer represents time in seconds.public String getProtocol()
public void setProtocol(String protocol)
protocol
- https:// or http://public String getProxyHost()
public void setProxyHost(String proxyHost)
public int getProxyPort()
public void setProxyPort(int proxyPort)
public String getProxyUsername()
public void setProxyUsername(String proxyUsername)
public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
public String getRootDomain()
public void setRootDomain(String rootDomain)
public SSLSocketFactory getSslSocketFactory()
public void setSslSocketFactory(SSLSocketFactory sslSocketFactory)
public X509TrustManager getX509TrustManager()
public void setX509TrustManager(X509TrustManager trustManager)
public String getApigwEndpoint()
public void setApigwEndpoint(String apigwEndpoint)
Copyright © 2024. All rights reserved.