|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentDescriptor
Represents common content properties.
Method Summary | |
---|---|
java.lang.String |
getCharset()
The body descriptors character set, defaulted appropriately for the MIME type. |
long |
getContentLength()
Returns the body descriptors content-length. |
java.util.Map<java.lang.String,java.lang.String> |
getContentTypeParameters()
Returns the map of parameters of the content-type header. |
java.lang.String |
getMediaType()
Gets the defaulted MIME media type for this content. |
java.lang.String |
getMimeType()
Returns the body descriptors MIME type. |
java.lang.String |
getSubType()
Gets the defaulted MIME sub type for this content. |
java.lang.String |
getTransferEncoding()
Returns the body descriptors transfer encoding. |
Method Detail |
---|
java.lang.String getMimeType()
getMediaType()
,
getSubType()
java.lang.String getMediaType()
TEXT
, IMAGE
, MULTIPART
TEXT
)getMimeType()
java.lang.String getSubType()
PLAIN
)getMimeType()
java.lang.String getCharset()
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.java.lang.String getTransferEncoding()
java.util.Map<java.lang.String,java.lang.String> getContentTypeParameters()
long getContentLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |