com.baidubce.services.ros
Class BaseRosClient

java.lang.Object
  extended by com.baidubce.AbstractBceClient
      extended by com.baidubce.services.ros.BaseRosClient
Direct Known Subclasses:
RosClient, RosProblemClient

public class BaseRosClient
extends AbstractBceClient

Ros base client.

Author:
zhangmengmeng01

Field Summary
 
Fields inherited from class com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
 
Constructor Summary
protected BaseRosClient()
          Construct a default base ROS client.
protected BaseRosClient(BceClientConfiguration config)
          Construct a base ROS client using the specified client configuration options (ex: max retry attempts, proxy settings, etc), and request metric collector.
protected BaseRosClient(String accessKey, String secretKey)
          Construct a base ROS client with access key id and secret key.
 
Method Summary
protected  InternalRequest createRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod, String path)
           
 
Methods inherited from class com.baidubce.AbstractBceClient
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseRosClient

protected BaseRosClient()
Construct a default base ROS client.


BaseRosClient

protected BaseRosClient(String accessKey,
                        String secretKey)
Construct a base ROS client with access key id and secret key.

Parameters:
accessKey - Access key id.
secretKey - Secret key.

BaseRosClient

protected BaseRosClient(BceClientConfiguration config)
Construct a base ROS 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.).
Method Detail

createRequest

protected InternalRequest createRequest(AbstractBceRequest bceRequest,
                                        HttpMethodName httpMethod,
                                        String path)


Copyright © 2020. All rights reserved.