JavaScript is disabled on your browser.
Description
Nested Class Summary
Enum Constant Summary
Method Summary
Enum Constant Details
ANY
DETECT
TEXT
XML
JSON
PDF
OCTET
MULTIPART_RELATED
MULTIPART_FORMDATA
MULTIPART
TXT
CSS
CSV
MJS
HTML
JAR
DOC
EPUB
VSD
AZW
PPT
XLS
RAR
RTF
ICO
ICS
BMP
GIF
PNG
SVG
TIFF
JPG
OTF
TTF
WOFF
WOFF2
MPEG
MP3
MP4
MIDI
AAC
AVI
TS
WAV
WEBA
WEBM
WEBP
GZ
TAR
BZ
BZ2
ZIP
Method Details
values()
valueOf(String)
getDefaultCharset()
includes(String)
accepts(String)
fromValue(String)
getMimeType()
getMimeType(String)
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
boolean
Checks if this enum matches a value in the provided 'Accept' header.
returns the default charset for the given mediatype or null when non is allowed
org.springframework.util.MimeType
Returns the MimeType without any parameters (such as charset)
org.springframework.util.MimeType
boolean
Matches the provided 'Content-Type' to this enum, should always be valid, is not weighted
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf