public class MultiPartEntity
extends MultipartEntity
| Constructor and Description |
|---|
MultiPartEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilePart(java.lang.String key,
org.apache.http.entity.FileEntity value)
Deprecated.
Use
addFilePart(String, ContentBody instead |
void |
addFilePart(java.lang.String key,
java.lang.String filename,
org.apache.http.entity.FileEntity value)
Deprecated.
Use
addFilePart(String, ContentBody instead |
void |
addPart(java.lang.String key,
org.apache.http.HttpEntity value)
Deprecated.
Use
addFilePart(String, ContentBody instead |
void |
addPart(java.lang.String key,
java.lang.String value)
Adds a basic KV part to the entity
|
public void addPart(java.lang.String key,
java.lang.String value)
key - The new valuevalue - The value value@Deprecated
public void addPart(java.lang.String key,
org.apache.http.HttpEntity value)
addFilePart(String, ContentBody insteadHttpEntity value to the entity. note: if you're
looking to add a FileEntity, use addFilePartkey - The key to addvalue - The HttpEntity part to add@Deprecated
public void addFilePart(java.lang.String key,
org.apache.http.entity.FileEntity value)
addFilePart(String, ContentBody insteadHttpEntity to the entity.key - The key to addvalue - The HttpEntity part to add@Deprecated
public void addFilePart(java.lang.String key,
java.lang.String filename,
org.apache.http.entity.FileEntity value)
addFilePart(String, ContentBody insteadHttpEntity to the entity.key - The key to addvalue - The HttpEntity part to add