public class

FormBodyPart

extends Object
java.lang.Object
   ↳ org.apache.http.entity.mime.FormBodyPart

Class Overview

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.

Summary

Public Constructors
FormBodyPart(String name, ContentBody body)
Public Methods
void addField(String name, String value)
ContentBody getBody()
Header getHeader()
String getName()
Protected Methods
void generateContentDisp(ContentBody body)
void generateContentType(ContentBody body)
void generateTransferEncoding(ContentBody body)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FormBodyPart (String name, ContentBody body)

Public Methods

public void addField (String name, String value)

public ContentBody getBody ()

public Header getHeader ()

public String getName ()

Protected Methods

protected void generateContentDisp (ContentBody body)

protected void generateContentType (ContentBody body)

protected void generateTransferEncoding (ContentBody body)