com.foxinmy.weixin4j.http.apache
Class FormBodyPart
java.lang.Object
com.foxinmy.weixin4j.http.apache.FormBodyPart
public class FormBodyPart
- extends Object
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
FormBodyPart
public FormBodyPart(String name,
ContentBody body)
getName
public String getName()
getBody
public ContentBody getBody()
getHeader
public Header getHeader()
addField
public void addField(String name,
String value)
Copyright © 2014–2017. All rights reserved.