Class FormBodyPart
java.lang.Object
org.apache.hc.client5.http.entity.mime.MultipartPart
org.apache.hc.client5.http.entity.mime.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.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hc.client5.http.entity.mime.MultipartPart
addField, getBody, getHeader
-
Field Details
-
name
-
-
Constructor Details
-
FormBodyPart
FormBodyPart(String name, ContentBody body, Header header)
-
-
Method Details
-
getName
-
addField
- Overrides:
addField
in classMultipartPart
-