| 程序包 | 说明 |
|---|---|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.methods |
Classes implementing
com.ptteng.mall.order.util.apacheCommonUtil.httpclient.HttpMethod for the base HTTP methods. |
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.methods.multipart |
Provides Multipart support classes for the
com.ptteng.mall.order.util.apacheCommonUtil.httpclient.methods.MultipartPostMethod. |
| 限定符和类型 | 方法和说明 |
|---|---|
Part[] |
MultipartPostMethod.getParts()
已过时。
Returns all parts.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MultipartPostMethod.addPart(Part part)
已过时。
Adds a part.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
FilePart
This class implements a part of a Multipart post object that
consists of a file.
|
class |
PartBase
Provides setters and getters for the basic Part properties.
|
class |
StringPart
Simple string parameter for a multipart post
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Part[] |
MultipartRequestEntity.parts
The MIME parts as set by the constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
Part.getLengthOfParts(Part[] parts)
Return the total sum of all parts and that of the last boundary
|
static long |
Part.getLengthOfParts(Part[] parts,
byte[] partBoundary)
Gets the length of the multipart message including the given parts.
|
static void |
Part.sendParts(OutputStream out,
Part[] parts)
Write all parts and the last boundary to the specified output stream.
|
static void |
Part.sendParts(OutputStream out,
Part[] parts,
byte[] partBoundary)
Write all parts and the last boundary to the specified output stream.
|
| 构造器和说明 |
|---|
MultipartRequestEntity(Part[] parts,
HttpMethodParams params)
Creates a new multipart entity containing the given parts.
|
Copyright © 2017. All rights reserved.