com.github.tobato.fastdfs.proto.storage.StorageGetMetadataCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastdfs-client Show documentation
Show all versions of fastdfs-client Show documentation
基于yuqih发布的代码与fastdfs-client 官方1.26版本的重构
package com.github.tobato.fastdfs.proto.storage;
import java.util.Set;
import com.github.tobato.fastdfs.domain.MateData;
import com.github.tobato.fastdfs.proto.AbstractFdfsCommand;
import com.github.tobato.fastdfs.proto.storage.internal.StorageGetMetadataRequest;
import com.github.tobato.fastdfs.proto.storage.internal.StorageGetMetadataResponse;
/**
* 设置文件标签
*
* @author tobato
*
*/
public class StorageGetMetadataCommand extends AbstractFdfsCommand> {
/**
* 设置文件标签(元数据)
*
* @param groupName
* @param path
* @param metaDataSet
* @param type
*/
public StorageGetMetadataCommand(String groupName, String path) {
this.request = new StorageGetMetadataRequest(groupName, path);
// 输出响应
this.response = new StorageGetMetadataResponse();
}
}