public class AppendFileRequest extends BaseRequest
文件上传请求
2020-02-03 16:52
head, inputFile| 构造器和说明 |
|---|
AppendFileRequest(InputStream inputStream,
long fileSize,
String path)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
encodeParam(Charset charset)
打包参数
|
long |
getFileSize() |
String |
getPath() |
long |
getPathSize() |
void |
setFileSize(long fileSize) |
void |
setPath(String path) |
void |
setPathSize(long pathSize) |
String |
toString() |
public AppendFileRequest(InputStream inputStream, long fileSize, String path)
inputStream - 文件输入流fileSize - 文件大小path - 文件路径public byte[] encodeParam(Charset charset)
encodeParam 在类中 BaseRequestpublic long getPathSize()
public void setPathSize(long pathSize)
public String getPath()
public void setPath(String path)
public void setFileSize(long fileSize)
public long getFileSize()
getFileSize 在类中 BaseRequestCopyright © 2021. All rights reserved.