Represents a MIME Type, as originally defined in RFC 2046 and subsequently used in other Internet protocols including HTTP. This class however does not contain support the q-parameters used in HTTP content negotiation. Those can be found in the sub-class {@code org.springframework.http.MediaType} in the {@code spring-web} module.
Consists of a {@linkplain #getType() type} and a {@linkplain #getSubtype() subtype}. Also has functionality to parse media types from a string using {@link #valueOf(String)}. For more parsing options see {@link MimeTypeUtils}.
@author Arjen Poutsma
@author Juergen Hoeller
@author Rossen Stoyanchev
@since 4.0
@see MimeTypeUtils