public class StorageAppendFileRequest extends FdfsRequest
head, inputFile| 构造器和说明 |
|---|
StorageAppendFileRequest(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() |
getBodyLength, getHeadByte, getInputFilepublic StorageAppendFileRequest(InputStream inputStream, long fileSize, String path)
inputStream - fileExtName - fileSize - storeIndex - isAppenderFile - public byte[] encodeParam(Charset charset)
encodeParam 在类中 FdfsRequestpublic long getPathSize()
public void setPathSize(long pathSize)
public String getPath()
public void setPath(String path)
public void setFileSize(long fileSize)
public long getFileSize()
getFileSize 在类中 FdfsRequestCopyright © 2018. All rights reserved.