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

cn.novelweb.tool.upload.fastdfs.protocol.storage.AppendFileCommandAbstract Maven / Gradle / Ivy

package cn.novelweb.tool.upload.fastdfs.protocol.storage;

import cn.novelweb.tool.upload.fastdfs.protocol.BaseResponse;
import cn.novelweb.tool.upload.fastdfs.protocol.storage.request.AppendFileRequest;

import java.io.InputStream;

/**
 * 

添加文件命令

*

2020-02-03 17:02

* * @author Dai Yuanchuan **/ public class AppendFileCommandAbstract extends AbstractStorageCommand { public AppendFileCommandAbstract(InputStream inputStream, long fileSize, String path) { this.request = new AppendFileRequest(inputStream, fileSize, path); // 输出响应 this.response = new BaseResponse() { }; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy