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

com.qcloud.cos.request.DelFolderRequest Maven / Gradle / Ivy

There is a newer version: 5.6.238.2
Show newest version
package com.qcloud.cos.request;

import com.qcloud.cos.common_utils.CommonParamCheckUtils;
import com.qcloud.cos.exception.ParamException;

/**
 * @author chengwu
 * 删除文件请求
 */
public class DelFolderRequest extends AbstractDelRequest {

    public DelFolderRequest(String bucketName, String cosPath) {
        super(bucketName, cosPath);
    }
    
    @Override
    public void check_param() throws ParamException {
    	super.check_param();
    	CommonParamCheckUtils.AssertLegalCosFolderPath(this.getCosPath());
    	CommonParamCheckUtils.AssertNotRootCosPath(this.getCosPath());
    }
    
    @Override
    public String toString() {
    	return super.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy