- getContentDisposition
Gets the content disposition. The "Content-Disposition" header, if present, will
be parsed.
- getMediaType
Returns the MediaType for this BodyPart. If not set, the default MediaType MUST
be text/plain.
- <init>
Instantiates a new BodyPart with the specified characteristics.
- getHeaders
Returns a mutable map of HTTP header value(s) for this BodyPart, keyed by the
header name. Key compa
- setEntity
Set the entity object to be unmarshalled from a request, or to be marshalled on
a response.
- setMediaType
Sets the MediaType for this BodyPart.
- cleanup
Perform any necessary cleanup at the end of processing this BodyPart.
- setContentDisposition
Sets the content disposition.
- setMessageBodyWorkers
Set message body workers used to transform an entity stream into particular Java
type.
- setParent
Sets the parent MultiPart (if any) for this BodyPart.
- getEntityAs
Returns the entity after appropriate conversion to the requested type. This is
useful only when the
- setBody