org.apache.http.entity.mime.content.ContentDescriptor |
Known Indirect Subclasses |
Represents common content properties.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The body descriptors character set, defaulted appropriately for the MIME type. | |||||||||||
Returns the body descriptors content-length.
| |||||||||||
Gets the defaulted MIME media type for this content.
| |||||||||||
Returns the body descriptors MIME type.
| |||||||||||
Gets the defaulted MIME sub type for this content.
| |||||||||||
Returns the body descriptors transfer encoding.
|
The body descriptors character set, defaulted appropriately for the MIME type.
For TEXT
types, this will be defaulted to us-ascii
.
For other types, when the charset parameter is missing this property will be null.
TEXT
types, when unset will
be set to default us-ascii
. For other types, when unset,
null will be returned.
Returns the body descriptors content-length.
Gets the defaulted MIME media type for this content.
For example TEXT
, IMAGE
, MULTIPART
TEXT
)
Returns the body descriptors MIME type.
Gets the defaulted MIME sub type for this content.
PLAIN
)
Returns the body descriptors transfer encoding.