类 BaseDuMapClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.dumap.BaseDuMapClient
-
- 直接已知子类:
DuMapClient
public class BaseDuMapClient extends AbstractBceClient
Base DuMap client which does the operations to call dumap server.- 作者:
- weizhijun
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classBaseDuMapClient.BodyType
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 BaseDuMapClient()Construct a new base dumap client with the defaul configurations and handlers.BaseDuMapClient(BceClientConfiguration config)Construct a new base dumap client with the specified configurations and default handlers.BaseDuMapClient(String accessKey, String secretKey)Construct a new base dumap client with the specified access key ID and secret key.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected BaseDuMapResponsecallDuMap(String uri, String appId, AbstractBceRequest request, Object requestParams, HttpMethodName httpMethodName)protected BaseDuMapResponsecallDuMap(String uri, String appId, AbstractBceRequest request, Object requestParams, HttpMethodName httpMethodName, BaseDuMapClient.BodyType bodyType)protected voidfillInHeadAndBody(AbstractBceRequest bceRequest, InternalRequest request, BaseDuMapClient.BodyType bodyType)protected voidfillParams(InternalRequest request, Object obj)protected voidsafeAddQueryParam(InternalRequest request, String key, String value)protected byte[]toForm(AbstractBceRequest bceRequest)protected byte[]toJson(AbstractBceRequest bceRequest)-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
BaseDuMapClient
public BaseDuMapClient()
Construct a new base dumap client with the defaul configurations and handlers.
-
BaseDuMapClient
public BaseDuMapClient(BceClientConfiguration config)
Construct a new base dumap client with the specified configurations and default handlers.- 参数:
config- the client configuration.
-
-
方法详细资料
-
callDuMap
protected BaseDuMapResponse callDuMap(String uri, String appId, AbstractBceRequest request, Object requestParams, HttpMethodName httpMethodName)
-
callDuMap
protected BaseDuMapResponse callDuMap(String uri, String appId, AbstractBceRequest request, Object requestParams, HttpMethodName httpMethodName, BaseDuMapClient.BodyType bodyType)
-
fillInHeadAndBody
protected void fillInHeadAndBody(AbstractBceRequest bceRequest, InternalRequest request, BaseDuMapClient.BodyType bodyType)
-
toJson
protected byte[] toJson(AbstractBceRequest bceRequest)
-
toForm
protected byte[] toForm(AbstractBceRequest bceRequest)
-
fillParams
protected void fillParams(InternalRequest request, Object obj)
-
safeAddQueryParam
protected void safeAddQueryParam(InternalRequest request, String key, String value)
-
-