com.baidubce.services.lps
Class BaseLpsClient
java.lang.Object
com.baidubce.AbstractBceClient
com.baidubce.services.lps.BaseLpsClient
- Direct Known Subclasses:
- LpsClient, LpsRouteClient
public class BaseLpsClient
- extends AbstractBceClient
Base lps client which is responsible for base request creation operation and other common operations.
- Author:
- weizhijun
|
Constructor Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
- Parameters:
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.
- Parameters:
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)
Copyright © 2020. All rights reserved.