public class BaseLpsClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
BaseLpsClient()
Construct a default base LPS client.
|
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.
|
protected |
BaseLpsClient(String accessKey,
String secretKey)
Construct a base lps client with access key id and secret key.
|
| Modifier and Type | Method and Description |
|---|---|
protected InternalRequest |
createRequest(AbstractBceRequest bceRequest,
HttpMethodName httpMethod,
String path) |
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownprotected BaseLpsClient()
protected BaseLpsClient(String accessKey, String secretKey)
accessKey - Access key id.secretKey - Secret key.protected BaseLpsClient(BceClientConfiguration config)
config - Configuration options specifying how this client will communicate with BCE
(ex: proxy settings, retry count, etc.).protected InternalRequest createRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod, String path)
Copyright © 2020. All rights reserved.