类 AbstractIotHiskBceClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.iothisk.AbstractIotHiskBceClient
-
- 直接已知子类:
IotHiskClient,IotPkiManageClient
public abstract class AbstractIotHiskBceClient extends AbstractBceClient
Abstract client for accessing the iot hisk service.
-
-
字段概要
字段 修饰符和类型 字段 说明 protected static HttpResponseHandler[]HANDLERSResponsible for handling httpResponses from all hisk service calls.-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 AbstractIotHiskBceClient(BceClientConfiguration config, HttpResponseHandler[] responseHandlers)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected InternalRequestcreateRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod, SignOptions signOptions, List<String> path, String... pathVariables)Creates and initializes a new request object for the specified resource.protected static voidfillInHeaderAndBody(AbstractBceRequest bceRequest, InternalRequest request)The method to fill the internalRequest's content field with bceRequest.protected static byte[]toJson(AbstractBceRequest request)Return a json byte array representation of the object.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
字段详细资料
-
HANDLERS
protected static final HttpResponseHandler[] HANDLERS
Responsible for handling httpResponses from all hisk service calls.
-
-
构造器详细资料
-
AbstractIotHiskBceClient
public AbstractIotHiskBceClient(BceClientConfiguration config, HttpResponseHandler[] responseHandlers)
-
-
方法详细资料
-
createRequest
protected InternalRequest createRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod, SignOptions signOptions, List<String> path, String... pathVariables)
Creates and initializes a new request object for the specified resource.- 参数:
bceRequest- The original BCE request created by the user.httpMethod- The HTTP method to use when sending the request.signOptions- The options for signature.path- The options for URI prefix.pathVariables- The optional variables used in the URI path.- 返回:
- A new request object populated with endpoint, resource path and specific parameters to send.
-
fillInHeaderAndBody
protected static void fillInHeaderAndBody(AbstractBceRequest bceRequest, InternalRequest request)
The method to fill the internalRequest's content field with bceRequest.- 参数:
bceRequest- The original request, as created by the user.request- A request object, populated with endpoint, resource path, ready for callers to populate any additional headers or parameters, and execute.
-
toJson
protected static byte[] toJson(AbstractBceRequest request)
Return a json byte array representation of the object.- 参数:
request- request object to be parsed as json byte array.- 返回:
- a byte array representation of the object
-
-