类 AbstractTsdbBceClient

    • 字段详细资料

      • TSDB_HANDLERS

        protected static final HttpResponseHandler[] TSDB_HANDLERS
        Responsible for handling HttpResponse from all Tsdb service calls.
    • 方法详细资料

      • createRequest

        protected InternalRequest createRequest​(URI endpoint,
                                                AbstractBceRequest bceRequest,
                                                HttpMethodName httpMethod,
                                                SignOptions signOptions,
                                                String... pathVariables)
        Creates and initializes a new request object for the specified resource.
        参数:
        endpoint - The endpoint to request.
        bceRequest - The original BCE request created by the user.
        httpMethod - The HTTP method to use when sending the request.
        signOptions - The options for signature.
        pathVariables - The optional variables used in the URI path.
        返回:
        A new request object populated with endpoint, resource path and specific parameters to send.
      • getTimestampInThisMinute

        protected Date getTimestampInThisMinute()
      • fillInHeadAndBodyForGzip

        protected void fillInHeadAndBodyForGzip​(InternalRequest request,
                                                byte[] bytes)
      • convertRequestToUrl

        protected URL convertRequestToUrl​(InternalRequest request)
        Converts the specified request object into a URL, containing all the specified parameters, the specified request endpoint, etc.
        参数:
        request - The request to convert into a URL.
        返回:
        A new URL representing the specified request.