Package com.foxinmy.weixin4j.http
Class MimeType
- java.lang.Object
-
- com.foxinmy.weixin4j.http.MimeType
-
- All Implemented Interfaces:
Serializable
public class MimeType extends Object implements Serializable
MIME type- Since:
- JDK 1.6
- Author:
- jinyu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static MimeType
APPLICATION_FORM_URLENCODED
static MimeType
APPLICATION_JSON
static MimeType
APPLICATION_OCTET_STREAM
static MimeType
APPLICATION_XML
static MimeType
AUDIO_MP3
static MimeType
IMAGE_JPG
static MimeType
MULTIPART_FORM_DATA
static List<MimeType>
STREAM_MIMETYPES
static MimeType
TEXT_HTML
static MimeType
TEXT_JSON
static MimeType
TEXT_PLAIN
static MimeType
TEXT_XML
static MimeType
VIDEO_MPEG4
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
String
getSubType()
String
getType()
int
hashCode()
boolean
includes(MimeType other)
reference of Spring Webboolean
isWildcardSubtype()
boolean
isWildcardType()
String
toString()
static MimeType
valueOf(String value)
-
-
-
Field Detail
-
APPLICATION_FORM_URLENCODED
public static final MimeType APPLICATION_FORM_URLENCODED
-
APPLICATION_JSON
public static final MimeType APPLICATION_JSON
-
APPLICATION_OCTET_STREAM
public static final MimeType APPLICATION_OCTET_STREAM
-
APPLICATION_XML
public static final MimeType APPLICATION_XML
-
MULTIPART_FORM_DATA
public static final MimeType MULTIPART_FORM_DATA
-
TEXT_HTML
public static final MimeType TEXT_HTML
-
TEXT_PLAIN
public static final MimeType TEXT_PLAIN
-
IMAGE_JPG
public static final MimeType IMAGE_JPG
-
AUDIO_MP3
public static final MimeType AUDIO_MP3
-
VIDEO_MPEG4
public static final MimeType VIDEO_MPEG4
-
TEXT_XML
public static final MimeType TEXT_XML
-
TEXT_JSON
public static final MimeType TEXT_JSON
-
-