@groovy.transform.CompileStatic class MimeType extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
static MimeType |
ALL |
|
static MimeType |
ATOM_XML |
|
static java.lang.String |
BEAN_NAME |
The bean name used to store the mime type definitions |
static MimeType |
FORM |
|
static MimeType |
HAL_JSON |
|
static MimeType |
HAL_XML |
|
static MimeType |
HTML |
|
static MimeType |
JSON |
|
static MimeType |
JSON_API |
|
static MimeType |
MULTIPART_FORM |
|
static java.lang.String |
QUALITY_RATING |
|
static BigDecimal |
QUALITY_RATING_NUMBER |
|
static MimeType |
TEXT_JSON |
|
static MimeType |
TEXT_XML |
|
static MimeType |
XHTML |
|
static MimeType |
XML |
Type | Name and description |
---|---|
java.lang.String |
extension |
java.lang.String |
name |
java.util.Map<java.lang.String, java.lang.String> |
parameters |
Type Params | Return Type | Name and description |
---|---|---|
|
static MimeType[] |
createDefaults() Creates the default MimeType configuration if none exists in Config.groovy |
|
boolean |
equals(java.lang.Object o) |
|
static MimeType[] |
getConfiguredMimeTypes()
|
|
java.lang.String |
getQuality()
|
|
BigDecimal |
getQualityAsNumber()
|
|
java.lang.String |
getVersion()
|
|
int |
hashCode() |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The bean name used to store the mime type definitions
Creates the default MimeType configuration if none exists in Config.groovy
Groovy Documentation