类 BaseLpsClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.lps.BaseLpsClient
-
- 直接已知子类:
LpsClient,LpsRouteClient
public class BaseLpsClient extends AbstractBceClient
Base lps client which is responsible for base request creation operation and other common operations.- 作者:
- weizhijun
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 限定符 构造器 说明 protectedBaseLpsClient()Construct a default base LPS client.protectedBaseLpsClient(BceClientConfiguration config)Construct a base lps client using the specified client configuration options (ex: max retry attempts, proxy settings, etc), and request metric collector.protectedBaseLpsClient(String accessKey, String secretKey)Construct a base lps client with access key id and secret key.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected InternalRequestcreateRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod, String path)-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
BaseLpsClient
protected BaseLpsClient()
Construct a default base LPS client.
-
BaseLpsClient
protected BaseLpsClient(String accessKey, String secretKey)
Construct a base lps client with access key id and secret key.- 参数:
accessKey- Access key id.secretKey- Secret key.
-
BaseLpsClient
protected BaseLpsClient(BceClientConfiguration config)
Construct a base lps client using the specified client configuration options (ex: max retry attempts, proxy settings, etc), and request metric collector.- 参数:
config- Configuration options specifying how this client will communicate with BCE (ex: proxy settings, retry count, etc.).
-
-
方法详细资料
-
createRequest
protected InternalRequest createRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod, String path)
-
-