org.apache.http.entity.mime
Class FormBodyPart
java.lang.Object
org.apache.james.mime4j.message.Entity
org.apache.james.mime4j.message.BodyPart
org.apache.http.entity.mime.FormBodyPart
- All Implemented Interfaces:
- Disposable
@NotThreadSafe
public class FormBodyPart
- extends BodyPart
An extension of the mime4j standard BodyPart
class that
automatically populates the header with standard fields based
on the content description of the enclosed body.
- Since:
- 4.0
Methods inherited from class org.apache.james.mime4j.message.Entity |
dispose, getBody, getCharset, getContentTransferEncoding, getDispositionType, getFilename, getHeader, getMimeType, getParent, isMimeType, isMultipart, removeBody, setBody, setBody, setBody, setContentDisposition, setContentDisposition, setContentDisposition, setContentDisposition, setContentTransferEncoding, setFilename, setHeader, setMessage, setMultipart, setMultipart, setParent, setText, setText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormBodyPart
public FormBodyPart(String name,
ContentBody body)
getName
public String getName()
generateContentDisp
protected void generateContentDisp(ContentBody body)
generateContentType
protected void generateContentType(ContentDescriptor desc)
generateTransferEncoding
protected void generateTransferEncoding(ContentDescriptor desc)
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.