|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.entity.mime.FormBodyPart
public class FormBodyPart
FormBodyPart class represents a content body that can be used as a part of multipart encoded entities. This class automatically populates the header with standard fields based on the content description of the enclosed body.
| Constructor Summary | |
|---|---|
FormBodyPart(String name,
ContentBody body)
Deprecated. (4.4) use FormBodyPartBuilder. |
|
| Method Summary | |
|---|---|
void |
addField(String name,
String value)
|
protected void |
generateContentDisp(ContentBody body)
Deprecated. (4.4) use FormBodyPartBuilder. |
protected void |
generateContentType(ContentBody body)
Deprecated. (4.4) use FormBodyPartBuilder. |
protected void |
generateTransferEncoding(ContentBody body)
Deprecated. (4.4) use FormBodyPartBuilder. |
ContentBody |
getBody()
|
Header |
getHeader()
|
String |
getName()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public FormBodyPart(String name,
ContentBody body)
FormBodyPartBuilder.
| Method Detail |
|---|
public String getName()
public ContentBody getBody()
public Header getHeader()
public void addField(String name,
String value)
@Deprecated protected void generateContentDisp(ContentBody body)
FormBodyPartBuilder.
@Deprecated protected void generateContentType(ContentBody body)
FormBodyPartBuilder.
@Deprecated protected void generateTransferEncoding(ContentBody body)
FormBodyPartBuilder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||