|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.entity.mime.content.AbstractContentBody
public abstract class AbstractContentBody
Constructor Summary | |
---|---|
AbstractContentBody(java.lang.String mimeType)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.http.entity.mime.content.ContentBody |
---|
getFilename, writeTo |
Methods inherited from interface org.apache.http.entity.mime.content.ContentDescriptor |
---|
getCharset, getContentLength, getTransferEncoding |
Constructor Detail |
---|
public AbstractContentBody(java.lang.String mimeType)
Method Detail |
---|
public java.lang.String getMimeType()
ContentDescriptor
getMimeType
in interface ContentDescriptor
ContentDescriptor.getMediaType()
,
ContentDescriptor.getSubType()
public java.lang.String getMediaType()
ContentDescriptor
TEXT
, IMAGE
, MULTIPART
getMediaType
in interface ContentDescriptor
TEXT
)ContentDescriptor.getMimeType()
public java.lang.String getSubType()
ContentDescriptor
getSubType
in interface ContentDescriptor
PLAIN
)ContentDescriptor.getMimeType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |