类 BcmClient


  • public class BcmClient
    extends AbstractBceClient
    Provides the client for accessing the Baidu Cloud Compute Service(bcm).
    • 构造器详细资料

      • BcmClient

        public BcmClient()
        Constructs a new client to invoke service methods on bcm.
      • BcmClient

        public BcmClient​(BceClientConfiguration clientConfiguration)
        Constructs a new bbc client using the client configuration to access bcm.
        参数:
        clientConfiguration - The bcc client configuration options controlling how this client connects to bbc (e.g. proxy settings, retry counts, etc).
    • 方法详细资料

      • fillPayload

        protected void fillPayload​(InternalRequest internalRequest,
                                   AbstractBceRequest bceRequest)
        the method to fill the internalRequest's content field with bceRequest only support HttpMethodName.POST or HttpMethodName.PUT
        参数:
        internalRequest - A request object, populated with endpoint, resource path, ready for callers to populate any additional headers or parameters, and execute.
        bceRequest - The original request, as created by the user.