com.jeesuite.filesystem.sdk.fdfs.codec.UploadStorageGetEncoder Maven / Gradle / Ivy
/**
*
*/
package com.jeesuite.filesystem.sdk.fdfs.codec;
import com.jeesuite.filesystem.sdk.fdfs.exchange.Requestor;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
import java.util.Collections;
import java.util.List;
import static com.jeesuite.filesystem.sdk.fdfs.FastdfsConstants.Commands.SERVICE_QUERY_STORE_WITHOUT_GROUP_ONE;
import static com.jeesuite.filesystem.sdk.fdfs.FastdfsConstants.Commands.SERVICE_QUERY_STORE_WITH_GROUP_ONE;
import static com.jeesuite.filesystem.sdk.fdfs.FastdfsConstants.*;
import static com.jeesuite.filesystem.sdk.fdfs.FastdfsUtils.isEmpty;
import static com.jeesuite.filesystem.sdk.fdfs.FastdfsUtils.writeFixLength;
/**
* 获取可上传的存储服务器
*
* @author liulongbiao
*/
public class UploadStorageGetEncoder implements Requestor.Encoder {
private String group;
public UploadStorageGetEncoder(String group) {
this.group = group;
}
@Override
public List