All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyuncs.CommonRequest Maven / Gradle / Ivy

There is a newer version: 1.8.10
Show newest version
package com.aliyuncs;

import com.aliyuncs.http.FormatType;

public class CommonRequest extends RpcAcsRequest {
    
    public CommonRequest(String product, String version, String action) {
        super(product, version, action);
        this.setAcceptFormat(FormatType.JSON);
    }
    
    public CommonRequest(String product, String version, String action, String locationProduct) {
        super(product, version, action, locationProduct);
        this.setAcceptFormat(FormatType.JSON);
    }
    
    public void add(String key, Object value) {
        this.putQueryParameter(key, value);
    }

    @Override
    public Class getResponseClass() {
        return CommonResponse.class;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy