public abstract class FdfsRequest extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected ProtoHead |
head
报文头
|
protected InputStream |
inputFile
发送文件
|
| 构造器和说明 |
|---|
FdfsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
encodeParam(Charset charset)
打包参数
|
protected long |
getBodyLength(Charset charset)
获取参数域长度
|
long |
getFileSize() |
byte[] |
getHeadByte(Charset charset)
获取报文头
|
InputStream |
getInputFile() |
protected ProtoHead head
protected InputStream inputFile
public byte[] getHeadByte(Charset charset)
charset - public byte[] encodeParam(Charset charset)
charset - protected long getBodyLength(Charset charset)
public InputStream getInputFile()
public long getFileSize()
Copyright © 2020. All rights reserved.