Public 成员函数 | |
| FilePart (String key, File file, String type) | |
| long | getTotalLength () |
| void | writeTo (OutputStream out) throws IOException |
Public 属性 | |
| File | file |
| byte[] | header |
Private 成员函数 | |
| byte[] | createHeader (String key, String filename, String type) |
The Class FilePart.
|
inline |
Instantiates a new file part.
| key | the key |
| file | the file |
| type | the type |
|
inlineprivate |
创建请求头.
| key | the key |
| filename | the filename |
| type | the type |
|
inline |
获取长度.
|
inline |
写入OutputStream.
| out | the out |
| IOException | Signals that an I/O exception has occurred. |
| File com.ab.http.AbMultipartEntity.FilePart.file |
The file.
| byte [] com.ab.http.AbMultipartEntity.FilePart.header |
The header.
1.8.8